mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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
|
"Run the current project Makefile's COMMAND. If FROM-PWD (bang), run the make
|
||||||
command from the current directory instead of the project root."
|
command from the current directory instead of the project root."
|
||||||
(interactive "<sh><!>")
|
(interactive "<sh><!>")
|
||||||
(let ((default-directory (if from-pwd default-directory (doom-project-root t)))
|
(let ((default-directory (if from-pwd default-directory (doom-project-root t))))
|
||||||
(command (and command (evil-ex-replace-special-filenames command))))
|
(compile (or (if command (evil-ex-replace-special-filenames command))
|
||||||
(compile command)))
|
compile-command))))
|
||||||
|
|
||||||
(evil-define-command doom:reverse-lines (beg end)
|
(evil-define-command doom:reverse-lines (beg end)
|
||||||
"Reverse lines between BEG and END."
|
"Reverse lines between BEG and END."
|
||||||
|
Reference in New Issue
Block a user