summaryrefslogtreecommitdiff
path: root/src/mac.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-04-30 01:01:11 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-04-30 01:01:11 +0000
commit141f653a89013bcd165b66b3d30a683bb97c6021 (patch)
tree231aded3688ffdf1f3a03f99fcd9cc4706493fc6 /src/mac.c
parent10c0915e8d86bdcd5c309e48ace834b7e15a6d1e (diff)
downloademacs-141f653a89013bcd165b66b3d30a683bb97c6021.tar.gz
emacs-141f653a89013bcd165b66b3d30a683bb97c6021.tar.bz2
emacs-141f653a89013bcd165b66b3d30a683bb97c6021.zip
(run_mac_command): Update call to openp.
Diffstat (limited to 'src/mac.c')
-rw-r--r--src/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mac.c b/src/mac.c
index 4e6ee4bb8ff..e72da769204 100644
--- a/src/mac.c
+++ b/src/mac.c
@@ -2041,7 +2041,7 @@ run_mac_command (argv, workdir, infn, outfn, errfn)
#endif /* 0 */
Lisp_Object path;
openp (Vexec_path, build_string (newargv[0]), EXEC_SUFFIXES, &path,
- 1);
+ make_number (X_OK));
if (NILP (path))
return -1;