mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Change :make to reuse last command
Unless given a command.
This commit is contained in:
@ -23,9 +23,9 @@
|
||||
"Run the current project Makefile's COMMAND. If FROM-PWD (bang), run the make
|
||||
command from the current directory instead of the project root."
|
||||
(interactive "<sh><!>")
|
||||
(let ((default-directory (if from-pwd default-directory (doom-project-root t)))
|
||||
(command (and command (evil-ex-replace-special-filenames command))))
|
||||
(compile command)))
|
||||
(let ((default-directory (if from-pwd default-directory (doom-project-root t))))
|
||||
(compile (or (if command (evil-ex-replace-special-filenames command))
|
||||
compile-command))))
|
||||
|
||||
(evil-define-command doom:reverse-lines (beg end)
|
||||
"Reverse lines between BEG and END."
|
||||
|
Reference in New Issue
Block a user