summaryrefslogtreecommitdiff
path: root/src/lread.c
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
commitc94230c548f0bacd5ba78686f73f4ab3ea87f32b (patch)
tree1e8e7cb38bfc6aa11dee9fa5b9c3a3a9bad1b952 /src/lread.c
parentd4395760b17da593b93285e29214527c36c8a505 (diff)
downloademacs-c94230c548f0bacd5ba78686f73f4ab3ea87f32b.tar.gz
(init_lread): Add ../lisp (in build dir) to load-path
when dumping.
Diffstat (limited to 'src/lread.c')
-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