Function: tab-bar--current-tab-index

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

Signature

(tab-bar--current-tab-index &optional TABS FRAME)

Source Code

;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defun tab-bar--current-tab-index (&optional tabs frame)
  ;; Return the index of the current tab.
  (seq-position (or tabs (funcall tab-bar-tabs-function frame))
                'current-tab (lambda (a b) (eq (car a) b))))