Variable: tab-bar-tab-name-format-functions
tab-bar-tab-name-format-functions is a customizable variable defined
in tab-bar.el.gz.
Value
(tab-bar-tab-name-format-hints
tab-bar-tab-name-format-close-button
tab-bar-tab-name-format-face
tab-bar-tab-name-format-mouse-face)
Documentation
Functions called to modify the tab name.
Each function is called with three arguments: the name returned by the previously called modifier, the tab and its number. It should return the formatted tab name to display in the tab bar.
This variable was added, or its default value changed, in Emacs 30.1.
Probably introduced at or before Emacs version 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defcustom tab-bar-tab-name-format-functions
'(tab-bar-tab-name-format-hints
tab-bar-tab-name-format-close-button
tab-bar-tab-name-format-face
tab-bar-tab-name-format-mouse-face)
"Functions called to modify the tab name.
Each function is called with three arguments: the name returned
by the previously called modifier, the tab and its number.
It should return the formatted tab name to display in the tab bar."
:type '(repeat
(choice (function-item tab-bar-tab-name-format-truncated)
(function-item tab-bar-tab-name-format-hints)
(function-item tab-bar-tab-name-format-close-button)
(function-item tab-bar-tab-name-format-face)
(function-item tab-bar-tab-name-format-mouse-face)
(function :tag "Custom function")))
:group 'tab-bar
:version "30.1")