]> code.delx.au - gnu-emacs/commitdiff
(init_lread): Add ../lisp (in build dir) to load-path
authorKarl Heuer <kwzh@gnu.org>
Thu, 21 Dec 1995 17:11:03 +0000 (17:11 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 21 Dec 1995 17:11:03 +0000 (17:11 +0000)
when dumping.

src/lread.c

index 9923967c98b6cafaf3e571182807458696c9a10b..8315b7ac7112e9cb3e180f61acfe33d0d06cac45 100644 (file)
@@ -2288,7 +2288,10 @@ init_lread ()
        }
     }
   else
-    Vload_path = decode_env_path (0, normal);
+    /* ../lisp refers to the build directory.
+       NORMAL refers to the lisp dir in the source directory.  */
+    Vload_path = Fcons (build_string ("../lisp"),
+                                     decode_env_path (0, normal));
 #endif
 
 #ifndef WINDOWSNT