Refactor anaphoric-if to conventional if (fix #11)
This commit is contained in:
parent
9c1fa8b3c6
commit
3eae00e4f9
1 changed files with 2 additions and 2 deletions
|
@ -192,8 +192,8 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
(propertize (or (*buffer-path) "") 'face `(:inherit (,face doom-modeline-alternate)))
|
(propertize (or (*buffer-path) "") 'face `(:inherit (,face doom-modeline-alternate)))
|
||||||
(propertize (or (*buffer-name) "") 'face face)
|
(propertize (or (*buffer-name) "") 'face face)
|
||||||
(propertize " " 'face face)
|
(propertize " " 'face face)
|
||||||
(aif (*buffer-state) (concat it (propertize " " 'face face)))
|
(let ((state (*buffer-state)))
|
||||||
)))
|
(if state (concat state (propertize " " 'face face)))))))
|
||||||
|
|
||||||
(defun *buffer-encoding-abbrev ()
|
(defun *buffer-encoding-abbrev ()
|
||||||
"The line ending convention used in the buffer (if it isn't unix) and its
|
"The line ending convention used in the buffer (if it isn't unix) and its
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue