Function: tab-bar-tab-name-current-with-count
tab-bar-tab-name-current-with-count is a byte-compiled function
defined in tab-bar.el.gz.
Signature
(tab-bar-tab-name-current-with-count)
Documentation
Generate tab name from the buffer of the selected window.
Also add the number of windows in the window configuration.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defun tab-bar-tab-name-current-with-count ()
"Generate tab name from the buffer of the selected window.
Also add the number of windows in the window configuration."
(let ((count (length (window-list-1 nil 'nomini)))
(name (tab-bar-tab-name-current)))
(if (> count 1)
(format "%s (%d)" name count)
(format "%s" name))))