]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fstart_process): Update call to openp.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Apr 2002 01:01:37 +0000 (01:01 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Apr 2002 01:01:37 +0000 (01:01 +0000)
src/process.c

index a62b13c3f38e93de5d4a132ee55ee44bfaca7fd7..cdd9b61f7bce1c9c843fc7e8e7577ff58676296d 100644 (file)
@@ -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));