From: Stefan Monnier Date: Tue, 30 Apr 2002 01:01:37 +0000 (+0000) Subject: (Fstart_process): Update call to openp. X-Git-Tag: ttn-vms-21-2-B4~15284 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc4db0c748a2926df927cbc6e35cf8949fc44a95;p=emacs.git (Fstart_process): Update call to openp. --- diff --git a/src/process.c b/src/process.c index a62b13c3f38..cdd9b61f7bc 100644 --- a/src/process.c +++ b/src/process.c @@ -1430,7 +1430,7 @@ usage: (start-process NAME BUFFER PROGRAM &rest PROGRAM-ARGS) */) tem = Qnil; GCPRO4 (name, program, buffer, current_dir); - openp (Vexec_path, program, Vexec_suffixes, &tem, 1); + openp (Vexec_path, program, Vexec_suffixes, &tem, make_number (X_OK)); UNGCPRO; if (NILP (tem)) report_file_error ("Searching for program", Fcons (program, Qnil));