Function: tab-line-tab-modified-p
tab-line-tab-modified-p is a byte-compiled function defined in
tab-line.el.gz.
Signature
(tab-line-tab-modified-p TAB BUFFER-P)
Documentation
Return t if TAB's buffer is modified.
BUFFER-P specifies whether the tab is a buffer; if nil, the buffer
is extracted from the association list TAB using the key buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-line.el.gz
(defun tab-line-tab-modified-p (tab buffer-p)
"Return t if TAB's buffer is modified.
BUFFER-P specifies whether the tab is a buffer; if nil, the buffer
is extracted from the association list TAB using the key `buffer'."
(let ((buffer (if buffer-p tab (cdr (assq 'buffer tab)))))
(when (and buffer (buffer-file-name buffer) (buffer-modified-p buffer))
t)))