Refactor anaphoric-if to conventional if (fix #11)

This commit is contained in:
Henrik Lissner 2016-09-27 02:45:30 +02:00
parent 9c1fa8b3c6
commit 3eae00e4f9

View file

@ -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