summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-12-21 17:11:03 +0000
committerKarl Heuer <kwzh@gnu.org>1995-12-21 17:11:03 +0000
commitd36b882672cc704873f49d4dcc42716d8126fa09 (patch)
tree802b2bd235e9ffacc5db3c35d9915311bc4fae43
parentd964248c519c4da03205b23bd301027c0f35d951 (diff)
downloademacs-d36b882672cc704873f49d4dcc42716d8126fa09.tar.gz
(init_lread): Add ../lisp (in build dir) to load-path
when dumping.
-rw-r--r--src/lread.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c
index 9923967c98b..8315b7ac711 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -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