mirror of
https://github.com/correl/doom-modeline.git
synced 2024-12-24 03:00:09 +00:00
Fix #10: file-name not working if buffer unmodified.
This commit is contained in:
parent
fefc9d9cfb
commit
593f581952
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ If STRICT-P, return nil if no project was found, otherwise return
|
|||
'face
|
||||
(let ((face (or (and (buffer-modified-p)
|
||||
'doom-modeline-buffer-modified)
|
||||
(and (active)
|
||||
(and (doom-modeline--active)
|
||||
'doom-modeline-buffer-file))))
|
||||
(when face `(:inherit ,face))))))
|
||||
'help-echo buffer-file-truename)))
|
||||
|
|
Loading…
Reference in a new issue