[compile] my-compile-project - read command before running

This commit is contained in:
contrapunctus 2021-08-08 23:28:53 +05:30
parent 64a4cdef7a
commit 1aa15a842c
1 changed files with 1 additions and 1 deletions

View File

@ -2849,7 +2849,7 @@ pjb suggested a different approach [[http://paste.lisp.org/display/10157][here]]
(defun my-compile-project (file cmd)
"Locate directory with FILE and run compile command CMD."
(cd (locate-dominating-file default-directory file))
(compile cmd))
(compile (compilation-read-command cmd)))
#+END_SRC