Don't byte-compile modeline format functions
Fixes unused lexical arg warnings when starting up.
This commit is contained in:
parent
59f869bf5e
commit
70e0280db3
1 changed files with 1 additions and 3 deletions
|
@ -68,9 +68,7 @@ Example:
|
||||||
(concat "Modeline:\n"
|
(concat "Modeline:\n"
|
||||||
(format " %s\n %s"
|
(format " %s\n %s"
|
||||||
(prin1-to-string lhs)
|
(prin1-to-string lhs)
|
||||||
(prin1-to-string rhs))))
|
(prin1-to-string rhs))))))
|
||||||
(let (byte-compile-warnings)
|
|
||||||
(byte-compile sym))))
|
|
||||||
|
|
||||||
(defun doom-modeline (key)
|
(defun doom-modeline (key)
|
||||||
"Returns a mode-line configuration associated with KEY (a symbol). Throws an
|
"Returns a mode-line configuration associated with KEY (a symbol). Throws an
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue