aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorYuuki Harano2021-02-20 18:00:36 +0900
committerYuuki Harano2021-02-20 18:00:36 +0900
commitbe2e47362b0f933dbc8e300e3d168296b7e2aac4 (patch)
tree3b14e2e66d33566b81cb1d6e8bb04551d95dd2b9 /src/callproc.c
parent949d3e50ec4ea7723bf14b93b66ad0b72f96f163 (diff)
parentc85c8e7d42ae2a5fc95fa7b14257389d8383b34d (diff)
downloademacs-be2e47362b0f933dbc8e300e3d168296b7e2aac4.tar.gz
emacs-be2e47362b0f933dbc8e300e3d168296b7e2aac4.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index cb72b070b7b..cd0f67fe29b 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -411,7 +411,11 @@ call_process (ptrdiff_t nargs, Lisp_Object *args, int filefd,
411 /* If the buffer is (still) a list, it might be a (:file "file") spec. */ 411 /* If the buffer is (still) a list, it might be a (:file "file") spec. */
412 if (CONSP (buffer) && EQ (XCAR (buffer), QCfile)) 412 if (CONSP (buffer) && EQ (XCAR (buffer), QCfile))
413 { 413 {
414 output_file = Fexpand_file_name (XCAR (XCDR (buffer)), 414 Lisp_Object ofile = XCDR (buffer);
415 if (CONSP (ofile))
416 ofile = XCAR (ofile);
417 CHECK_STRING (ofile);
418 output_file = Fexpand_file_name (ofile,
415 BVAR (current_buffer, directory)); 419 BVAR (current_buffer, directory));
416 CHECK_STRING (output_file); 420 CHECK_STRING (output_file);
417 buffer = Qnil; 421 buffer = Qnil;