[compile] my-compile-project - read command before running
This commit is contained in:
parent
64a4cdef7a
commit
1aa15a842c
2
init.org
2
init.org
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue