Don't byte-compile modeline format functions

Fixes unused lexical arg warnings when starting up.
This commit is contained in:
Henrik Lissner 2018-07-30 23:39:15 +02:00
parent 59f869bf5e
commit 70e0280db3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -68,9 +68,7 @@ Example:
(concat "Modeline:\n"
(format " %s\n %s"
(prin1-to-string lhs)
(prin1-to-string rhs))))
(let (byte-compile-warnings)
(byte-compile sym))))
(prin1-to-string rhs))))))
(defun doom-modeline (key)
"Returns a mode-line configuration associated with KEY (a symbol). Throws an