[compile] fix logic
This commit is contained in:
parent
e2feccc902
commit
16a5f70e6c
5
init.org
5
init.org
|
@ -1544,8 +1544,9 @@ With PREFIX argument and CMD not supplied - prompt for command."
|
|||
(awhen (locate-dominating-file default-directory file)
|
||||
(cd it)
|
||||
(compile
|
||||
(cond ((and prefix cmd)
|
||||
(compilation-read-command cmd))
|
||||
(cond (prefix
|
||||
(compilation-read-command
|
||||
(or cmd "")))
|
||||
(cmd cmd)
|
||||
(t compile-command))))))
|
||||
#+END_SRC
|
||||
|
|
Loading…
Reference in New Issue