From d59f36eee14f000973b25fdaa5567daed0e1d3a2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 24 Aug 2018 17:53:21 +0200 Subject: [PATCH] Eval compile-command in :make In case it is a set to a lisp form by a file local variable. --- modules/config/default/+evil-commands.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/config/default/+evil-commands.el b/modules/config/default/+evil-commands.el index 8ce341ac1..657524b18 100644 --- a/modules/config/default/+evil-commands.el +++ b/modules/config/default/+evil-commands.el @@ -25,7 +25,7 @@ command from the current directory instead of the project root." (interactive "") (let ((default-directory (if from-pwd default-directory (doom-project-root t)))) (compile (or (if command (evil-ex-replace-special-filenames command)) - compile-command)))) + (eval compile-command))))) (evil-define-command doom:reverse-lines (beg end) "Reverse lines between BEG and END."