Display appropriate status for indirect buffers

This commit is contained in:
Jessie Hildebrandt 2022-12-29 01:10:40 -05:00
parent 7b1371bd4b
commit 6fe134fe4c

View File

@ -715,7 +715,7 @@ Checkers checked, in order: `flycheck', `flymake'."
(defun mood-line-segment-buffer-status ()
"Return an indicator representing the status of the current buffer."
(concat (if (buffer-file-name)
(concat (if (buffer-file-name (buffer-base-buffer))
(cond
((and (buffer-narrowed-p)
(buffer-modified-p))