Treat doom-modeline-def-modeline as a function.

This commit is contained in:
Vincent Zhang 2018-12-08 03:07:41 +08:00
parent cd62baebf9
commit 44a46a61cc

View file

@ -379,6 +379,7 @@ Example:
(format " %s\n %s" (format " %s\n %s"
(prin1-to-string lhs) (prin1-to-string lhs)
(prin1-to-string rhs)))))) (prin1-to-string rhs))))))
(put 'doom-modeline-def-modeline 'lisp-indent-function 'defun)
(defun doom-modeline (key) (defun doom-modeline (key)
"Return a mode-line configuration associated with KEY (a symbol). "Return a mode-line configuration associated with KEY (a symbol).