Update calls to openp.
[bpt/emacs.git] / src / emacs.c
index f79b094..64446fe 100644 (file)
@@ -438,7 +438,7 @@ init_cmdargs (argc, argv, skip_args)
     {
       Lisp_Object found;
       int yes = openp (Vexec_path, Vinvocation_name,
-                      EXEC_SUFFIXES, &found, 1);
+                      Vexec_suffixes, &found, 1);
       if (yes == 1)
        {
          /* Add /: to the front of the name