Function: tab-line-tab-face-special
tab-line-tab-face-special is a byte-compiled function defined in
tab-line.el.gz.
Signature
(tab-line-tab-face-special TAB TABS FACE BUFFER-P SELECTED-P)
Documentation
Return FACE for TAB according to whether its buffer is special.
When TAB is a non-file-visiting buffer, make FACE inherit from
tab-line-tab-special. For use in
tab-line-tab-face-functions.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-line.el.gz
(defun tab-line-tab-face-special (tab _tabs face buffer-p _selected-p)
"Return FACE for TAB according to whether its buffer is special.
When TAB is a non-file-visiting buffer, make FACE inherit from
`tab-line-tab-special'. For use in
`tab-line-tab-face-functions'."
(let ((buffer (if buffer-p tab (cdr (assq 'buffer tab)))))
(when (and buffer (not (buffer-file-name buffer)))
(setf face `(:inherit (tab-line-tab-special ,face)))))
face)