Function: tab-switcher-current-tab

tab-switcher-current-tab is a byte-compiled function defined in tab-bar.el.gz.

Signature

(tab-switcher-current-tab ERROR-IF-NON-EXISTENT-P)

Documentation

Return window configuration described by this line of the list.

Source Code

;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defun tab-switcher-current-tab (error-if-non-existent-p)
  "Return window configuration described by this line of the list."
  (let* ((where (save-excursion
                  (beginning-of-line)
                  (+ 2 (point) tab-switcher-column)))
         (tab (and (not (eobp)) (get-text-property where 'tab))))
    (or tab
        (if error-if-non-existent-p
            (user-error "No window configuration on this line")
          nil))))