Function: tab-line-mode--turn-on
tab-line-mode--turn-on is a byte-compiled function defined in
tab-line.el.gz.
Signature
(tab-line-mode--turn-on)
Documentation
Turn on tab-line-mode(var)/tab-line-mode(fun) in all pertinent buffers.
Temporary buffers, buffers whose names begin with a space, buffers
under major modes that are either mentioned in tab-line-exclude-mode
or have a non-nil tab-line-exclude property on their symbol,
and buffers that have a non-nil buffer-local value
of tab-line-exclude, are exempt from tab-line-mode(var)/tab-line-mode(fun).
Source Code
;; Defined in /usr/src/emacs/lisp/tab-line.el.gz
(defun tab-line-mode--turn-on ()
"Turn on `tab-line-mode' in all pertinent buffers.
Temporary buffers, buffers whose names begin with a space, buffers
under major modes that are either mentioned in `tab-line-exclude-mode'
or have a non-nil `tab-line-exclude' property on their symbol,
and buffers that have a non-nil buffer-local value
of `tab-line-exclude', are exempt from `tab-line-mode'."
(unless (or (minibufferp)
(string-match-p "\\` " (buffer-name))
(memq major-mode tab-line-exclude-modes)
(buffer-match-p tab-line-exclude-buffers (buffer-name))
(get major-mode 'tab-line-exclude)
(buffer-local-value 'tab-line-exclude (current-buffer)))
(tab-line-mode 1)))