changeset 24920:d95c8bcfe8ae

(init_callproc): Set exec_directory if installation_directory is non-nil, without a test of exec_path.
author Richard M. Stallman <rms@gnu.org>
date Fri, 02 Jul 1999 12:57:10 +0000
parents 7b31dd5d71bb
children 036b2fb4944f
files src/callproc.c
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Fri Jul 02 12:53:04 1999 +0000
+++ b/src/callproc.c	Fri Jul 02 12:57:10 1999 +0000
@@ -1272,14 +1272,13 @@
       Lisp_Object tem;
       tem = Fexpand_file_name (build_string ("lib-src"),
 			       Vinstallation_directory);
-      if (NILP (Fmember (tem, Vexec_path)))
-	{
 #ifndef DOS_NT
 	  /* MSDOS uses wrapped binaries, so don't do this.  */
-	  Vexec_path = nconc2 (Vexec_path, Fcons (tem, Qnil));
-	  Vexec_directory = Ffile_name_as_directory (tem);
+      if (NILP (Fmember (tem, Vexec_path)))
+	Vexec_path = nconc2 (Vexec_path, Fcons (tem, Qnil));
+      
+      Vexec_directory = Ffile_name_as_directory (tem);
 #endif /* not DOS_NT */
-	}
 
       /* Maybe use ../etc as well as ../lib-src.  */
       if (data_dir == 0)