# HG changeset patch # User Richard M. Stallman # Date 758767478 0 # Node ID 0b312b3fa24e259a51df94a590a5235c69137c41 # Parent 67a8c4a8c80e4e5c9170338709c58aaf74512dca (init_lread): Use Vinstallation_directory. diff -r 67a8c4a8c80e -r 0b312b3fa24e src/lread.c --- a/src/lread.c Sun Jan 16 23:59:56 1994 +0000 +++ b/src/lread.c Mon Jan 17 00:44:38 1994 +0000 @@ -1849,15 +1849,14 @@ if (! NILP (Fequal (dump_path, Vload_path))) { Vload_path = decode_env_path (0, normal); - if (!NILP (Vinvocation_directory)) + if (!NILP (Vinstallation_directory)) { - /* Add to the path the ../lisp dir of the Emacs executable, - if that dir exists. */ - Lisp_Object tem, tem1; - tem = Fexpand_file_name (build_string ("../lisp"), - Vinvocation_directory); - tem1 = Ffile_exists_p (tem); - if (!NILP (tem1) && NILP (Fmember (tem, Vload_path))) + /* Add to the path the lisp subdir of the + installation dir. */ + Lisp_Object tem; + tem = Fexpand_file_name (build_string ("lisp"), + Vinstallation_directory); + if (NILP (Fmember (tem, Vload_path))) Vload_path = nconc2 (Vload_path, Fcons (tem, Qnil)); } }