aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/callproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 18f11c1d8b7..4e1821a2aef 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -367,7 +367,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
367 { 367 {
368 Lisp_Object spec_buffer; 368 Lisp_Object spec_buffer;
369 spec_buffer = buffer; 369 spec_buffer = buffer;
370 buffer = Fget_buffer (buffer); 370 buffer = Fget_buffer_create (buffer);
371 /* Mention the buffer name for a better error message. */ 371 /* Mention the buffer name for a better error message. */
372 if (NILP (buffer)) 372 if (NILP (buffer))
373 CHECK_BUFFER (spec_buffer, 2); 373 CHECK_BUFFER (spec_buffer, 2);