From 70e0280db39b1ee8f2f4184b21c03260210392f4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 30 Jul 2018 23:39:15 +0200 Subject: [PATCH] Don't byte-compile modeline format functions Fixes unused lexical arg warnings when starting up. --- modules/ui/doom-modeline/config.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/ui/doom-modeline/config.el b/modules/ui/doom-modeline/config.el index 6f0bff15f..81c5cd9cb 100644 --- a/modules/ui/doom-modeline/config.el +++ b/modules/ui/doom-modeline/config.el @@ -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