Display appropriate status for indirect buffers
This commit is contained in:
parent
7b1371bd4b
commit
6fe134fe4c
@ -715,7 +715,7 @@ Checkers checked, in order: `flycheck', `flymake'."
|
|||||||
|
|
||||||
(defun mood-line-segment-buffer-status ()
|
(defun mood-line-segment-buffer-status ()
|
||||||
"Return an indicator representing the status of the current buffer."
|
"Return an indicator representing the status of the current buffer."
|
||||||
(concat (if (buffer-file-name)
|
(concat (if (buffer-file-name (buffer-base-buffer))
|
||||||
(cond
|
(cond
|
||||||
((and (buffer-narrowed-p)
|
((and (buffer-narrowed-p)
|
||||||
(buffer-modified-p))
|
(buffer-modified-p))
|
||||||
|
Loading…
Reference in New Issue
Block a user