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 7f4993c9bf7..196f8a669ac 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -381,7 +381,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
381 struct gcpro gcpro1; 381 struct gcpro gcpro1;
382 382
383 GCPRO1 (current_dir); 383 GCPRO1 (current_dir);
384 openp (Vexec_path, args[0], Vexec_suffixes, &path, 1); 384 openp (Vexec_path, args[0], Vexec_suffixes, &path, make_number (X_OK));
385 UNGCPRO; 385 UNGCPRO;
386 } 386 }
387 if (NILP (path)) 387 if (NILP (path))