Function: tab-bar-tab-name-format-close-button
tab-bar-tab-name-format-close-button is a byte-compiled function
defined in tab-bar.el.gz.
Signature
(tab-bar-tab-name-format-close-button NAME TAB I)
Documentation
Show the tab close button.
The variable tab-bar-close-button-show defines when to show it.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defun tab-bar-tab-name-format-close-button (name tab _i)
"Show the tab close button.
The variable `tab-bar-close-button-show' defines when to show it."
(if (and tab-bar-close-button-show
(not (eq tab-bar-close-button-show
(if (eq (car tab) 'current-tab) 'non-selected 'selected)))
tab-bar-close-button)
(concat name tab-bar-close-button)
name))