From: Richard M. Stallman Date: Thu, 12 Aug 1993 22:05:30 +0000 (+0000) Subject: Include process.h. X-Git-Tag: emacs-19.34~11262 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c362a8bb2ddd97b0666b0c5849b6c17617b4d86;p=emacs.git Include process.h. (init_cmdargs): Use EXEC_SUFFIXES. --- diff --git a/src/emacs.c b/src/emacs.c index 321edbe15e5..ca03da1608a 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -47,6 +47,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "systty.h" #include "syssignal.h" +#include "process.h" #ifndef O_RDWR #define O_RDWR 2 @@ -169,7 +170,7 @@ init_cmdargs (argc, argv, skip_args) { Lisp_Object found; int yes = openp (Vexec_path, Vinvocation_name, - "", &found, 1); + EXEC_SUFFIXES, &found, 1); if (yes) Vinvocation_directory = Ffile_name_directory (found); }