forked from mirrors/org-mode
org-compile-file: Retain all the logs when PROCESS is a list
* lisp/org-macs.el (org-compile-file): When PROCESS is a list of shell commands, do not erase logs of all but last commands.
This commit is contained in:
parent
61c235b778
commit
a250fc745f
|
@ -1626,7 +1626,9 @@ it for output."
|
|||
(cond
|
||||
((functionp command)
|
||||
(funcall command (shell-quote-argument relname)))
|
||||
((stringp command) (shell-command command log-buf)))))
|
||||
((stringp command)
|
||||
(let ((shell-command-dont-erase-buffer t))
|
||||
(shell-command command log-buf))))))
|
||||
;; Check for process failure. Output file is expected to be
|
||||
;; located in the same directory as SOURCE.
|
||||
(unless (org-file-newer-than-p output time)
|
||||
|
|
Loading…
Reference in New Issue