Function: tab-bar-tab-name-current
tab-bar-tab-name-current is a byte-compiled function defined in
tab-bar.el.gz.
Signature
(tab-bar-tab-name-current)
Documentation
Generate tab name from the buffer of the selected window.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defun tab-bar-tab-name-current ()
"Generate tab name from the buffer of the selected window."
;; `minibuffer-selected-window' loses its original window
;; after switching to another tab while the minibuffer was active,
;; so get the most recently used non-minibuffer window.
(buffer-name (window-buffer (or (minibuffer-selected-window)
(and (window-minibuffer-p)
(get-mru-window))))))