Commit 5c150961 authored by Stefan Monnier's avatar Stefan Monnier

(Fcall_process): Update call to openp.

parent 86d00812
......@@ -381,7 +381,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
struct gcpro gcpro1;
GCPRO1 (current_dir);
openp (Vexec_path, args[0], Vexec_suffixes, &path, 1);
openp (Vexec_path, args[0], Vexec_suffixes, &path, make_number (X_OK));
UNGCPRO;
}
if (NILP (path))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment