Function: tab-bar-auto-width-predicate-default
tab-bar-auto-width-predicate-default is a byte-compiled function
defined in tab-bar.el.gz.
Signature
(tab-bar-auto-width-predicate-default ITEM)
Documentation
Accepts tab ITEM and returns non-nil for tabs and tab groups.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defun tab-bar-auto-width-predicate-default (item)
"Accepts tab ITEM and returns non-nil for tabs and tab groups."
(if (eq tab-bar-auto-width-faces tab-bar--auto-width-faces-default)
(string-match-p
;; (rx bos (or "current-tab" "tab-" "group-"))
"\\`\\(?:current-tab\\|\\(?:group\\|tab\\)-\\)"
(symbol-name (nth 0 item)))
(memq (get-text-property 0 'face (nth 2 item))
tab-bar-auto-width-faces)))