mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 19:19:53 +00:00
Merge pull request #33 from zhangpj/fix-warnings
Stop byte-compiling modeline format functions
This commit is contained in:
commit
e168c719da
1 changed files with 1 additions and 4 deletions
|
@ -286,10 +286,7 @@ active.")
|
||||||
(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))))))
|
||||||
(unless (bound-and-true-p byte-compile-current-file)
|
|
||||||
(let (byte-compile-warnings)
|
|
||||||
(byte-compile sym)))))
|
|
||||||
|
|
||||||
(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).
|
||||||
|
|
Loading…
Reference in a new issue