Use (file/dir-local) compile-command to determine command to run

This commit is contained in:
contrapunctus 2022-01-15 10:27:09 +05:30
parent 67e5bbda66
commit 671b7c2ab6
1 changed files with 2 additions and 1 deletions

View File

@ -2990,7 +2990,7 @@ With PREFIX argument and omitted CMD, prompt for command."
#+BEGIN_SRC emacs-lisp
(defun my-compile-org-lp (&optional prefix)
(interactive)
(my-compile-project "Makefile" prefix "make -Bk tangle compile"))
(my-compile-project "Makefile" prefix))
(defhydra my-literate-elisp-hydra (:color blue)
"Literate Elisp"
@ -5161,4 +5161,5 @@ nicked from wasamasa's init - https://github.com/wasamasa/dotemacs/blob/934d0b37
# nameless-current-name: "contrapunctus"
# eval: (visual-fill-column-mode -1)
# eval: (nameless-mode)
# compile-command: "make -Bk tangle"
# End: