aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2002-04-30 01:00:24 +0000
committerStefan Monnier2002-04-30 01:00:24 +0000
commit5c15096143974ef5d8931a221a2d6c95da9fe0e5 (patch)
tree8f5d94f31ea1b5b1653b7a4fd81c7ad0a20bfa7a /src
parent86d008122bd0e2de52393a2b975edf53019d6fef (diff)
downloademacs-5c15096143974ef5d8931a221a2d6c95da9fe0e5.tar.gz
emacs-5c15096143974ef5d8931a221a2d6c95da9fe0e5.zip
(Fcall_process): Update call to openp.
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))