mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
(process-file): Fix logic.
This commit is contained in:
parent
3acd2c4f88
commit
85af630d59
2 changed files with 9 additions and 7 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
* mouse-sel.el (mouse-sel-mode): Specify custom group.
|
||||
|
||||
* simple.el (process-file): Fix logic.
|
||||
|
||||
2004-10-24 Luc Teirlinck <teirllm@auburn.edu>
|
||||
|
||||
* indent.el (set-left-margin, set-right-margin): Delete redundant
|
||||
|
|
|
|||
|
|
@ -1901,13 +1901,13 @@ value passed."
|
|||
(if fh (apply fh 'process-file program infile buffer display args)
|
||||
(when infile (setq lc (file-local-copy infile)))
|
||||
(setq stderr-file (when (and (consp buffer) (stringp (cadr buffer)))
|
||||
(make-temp-file "emacs"))))
|
||||
(prog1
|
||||
(apply 'call-process program
|
||||
(or lc infile)
|
||||
(if stderr-file (list (car buffer) stderr-file) buffer)
|
||||
display args)
|
||||
(when stderr-file (copy-file stderr-file (cadr buffer))))
|
||||
(make-temp-file "emacs")))
|
||||
(prog1
|
||||
(apply 'call-process program
|
||||
(or lc infile)
|
||||
(if stderr-file (list (car buffer) stderr-file) buffer)
|
||||
display args)
|
||||
(when stderr-file (copy-file stderr-file (cadr buffer)))))
|
||||
(when stderr-file (delete-file stderr-file))
|
||||
(when lc (delete-file lc)))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue