aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c
index d0bd50222a0..e83e46af14b 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -447,7 +447,7 @@ init_cmdargs (argc, argv, skip_args)
447 { 447 {
448 Lisp_Object found; 448 Lisp_Object found;
449 int yes = openp (Vexec_path, Vinvocation_name, 449 int yes = openp (Vexec_path, Vinvocation_name,
450 Vexec_suffixes, &found, 1); 450 Vexec_suffixes, &found, make_number (X_OK));
451 if (yes == 1) 451 if (yes == 1)
452 { 452 {
453 /* Add /: to the front of the name 453 /* Add /: to the front of the name