mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Eval compile-command in :make
In case it is a set to a lisp form by a file local variable.
This commit is contained in:
@ -25,7 +25,7 @@ command from the current directory instead of the project root."
|
||||
(interactive "<sh><!>")
|
||||
(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."
|
||||
|
Reference in New Issue
Block a user