diff options
| author | Glenn Morris | 2021-02-19 08:36:56 -0800 |
|---|---|---|
| committer | Glenn Morris | 2021-02-19 08:36:56 -0800 |
| commit | 1d50050af7f6cde7283d29cd79526bf1cd4a73ae (patch) | |
| tree | e010861d80fe684c74141bdd9fc10f93c552fe0b /src | |
| parent | 51d056b14136c3d479ccf949dafa0f3602e7ee2f (diff) | |
| parent | 8e8b46ef818a5f94a9697dce1c49c6869d61deed (diff) | |
| download | emacs-1d50050af7f6cde7283d29cd79526bf1cd4a73ae.tar.gz emacs-1d50050af7f6cde7283d29cd79526bf1cd4a73ae.zip | |
Merge from origin/emacs-27
8e8b46ef81 (origin/emacs-27) More accurate documentation of the "r" i...
dcb2015a5b Mention the GNU Kind Communications Guidelines in the FAQ
9882e63eea ; * CONTRIBUTE: Another wording change regarding tiny chan...
850f18ef23 Allow newlines in password prompts again in comint
c977370dd7 Avoid point movement when visiting image files
da64a257a4 ; * CONTRIBUTE: Yet another clarification of significant c...
d03f2a6ee9 Avoid assertion violation in callproc.c
dcc00bbb19 ; * CONTRIBUTE: Clarify the "15-lines" rule a bit more.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 6 |
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; |