Fix the mark of read-only buffer.

This commit is contained in:
Vincent Zhang 2019-02-25 16:05:28 +07:00
parent 32eb2cb0a6
commit 6f189b37bd

View file

@ -204,7 +204,7 @@ Uses `all-the-icons-material' to fetch the icon."
(cond (buffer-read-only (cond (buffer-read-only
(doom-modeline-buffer-file-state-icon (doom-modeline-buffer-file-state-icon
"lock" "lock"
"%1+" "%1*"
'doom-modeline-warning)) 'doom-modeline-warning))
((buffer-modified-p) ((buffer-modified-p)
(doom-modeline-buffer-file-state-icon (doom-modeline-buffer-file-state-icon