mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
Don't byte-compile modeline format functions
Fixes unused lexical arg warnings when starting up.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user