Variable: tab-line-exclude-buffers
tab-line-exclude-buffers is a customizable variable defined in
tab-line.el.gz.
Value
nil
Documentation
Whether tab-line should not be enabled in a buffer.
The value must be a condition which is passed to buffer-match-p (which
see).
You can include multiple conditions, for example:
To exclude multiple modes and buffer names:
'(or "\\*eshell\\*"
(derived-mode completion-list-mode
eshell-mode
term-mode
...)
...)
If the condition yields a non-nil value, tab line will not be enabled in those buffers.
See also tab-line-exclude-modes, for only exclude major modes.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-line.el.gz
(defcustom tab-line-exclude-buffers nil
"Whether tab-line should not be enabled in a buffer.
The value must be a condition which is passed to `buffer-match-p' (which
see).
You can include multiple conditions, for example:
To exclude multiple modes and buffer names:
\\='(or \"\\*eshell\\*\"
(derived-mode completion-list-mode
eshell-mode
term-mode
...)
...)
If the condition yields a non-nil value, tab line will not be enabled in
those buffers.
See also `tab-line-exclude-modes', for only exclude major modes."
:type '(buffer-predicate :tag "Predicate for `buffer-match-p'")
:safe #'booleanp
:group 'tab-line
:version "31.1")