aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2013-12-16 14:35:57 -0800
committerPaul Eggert2013-12-16 14:35:57 -0800
commit8fb8c4f3735ac3b1b61bd3472a7ba2ad35d1dad5 (patch)
treec4161b9d215d18f6b810c7b36a25864ad507df44 /src
parent6c8e0ae69b3488e4ff38527cc930202e9cd9a98e (diff)
downloademacs-8fb8c4f3735ac3b1b61bd3472a7ba2ad35d1dad5.tar.gz
emacs-8fb8c4f3735ac3b1b61bd3472a7ba2ad35d1dad5.zip
Fix problems with CANNOT_DUMP and EMACSLOADPATH.
* leim/Makefile.in (RUN_EMACS): * lisp/Makefile.in (emacs): Add lisp src to EMACSLOADPATH. * lisp/loadup.el: Check for src/bootstrap-emacs only when Emacs can dump. Expand dir too, in case it's relative. * src/lread.c (init_lread): If CANNOT_DUMP, we can't be dumping.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/lread.c10
2 files changed, 13 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e2ff15e4291..36378fd911e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2
3 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4 * lread.c (init_lread): If CANNOT_DUMP, we can't be dumping.
5
12013-12-16 Eli Zaretskii <eliz@gnu.org> 62013-12-16 Eli Zaretskii <eliz@gnu.org>
2 7
3 * xdisp.c (Fmove_point_visually): Fix subtle bugs in the fallback 8 * xdisp.c (Fmove_point_visually): Fix subtle bugs in the fallback
diff --git a/src/lread.c b/src/lread.c
index 89bce5e7d25..2bada06f2ad 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -4293,8 +4293,14 @@ init_lread (void)
4293{ 4293{
4294 /* First, set Vload_path. */ 4294 /* First, set Vload_path. */
4295 4295
4296 /* We explicitly ignore EMACSLOADPATH when dumping. */ 4296 /* Ignore EMACSLOADPATH when dumping. */
4297 if (NILP (Vpurify_flag) && egetenv ("EMACSLOADPATH")) 4297#ifdef CANNOT_DUMP
4298 bool use_loadpath = true;
4299#else
4300 bool use_loadpath = !NILP (Vpurify_flag);
4301#endif
4302
4303 if (use_loadpath && egetenv ("EMACSLOADPATH"))
4298 { 4304 {
4299 Vload_path = decode_env_path ("EMACSLOADPATH", 0, 1); 4305 Vload_path = decode_env_path ("EMACSLOADPATH", 0, 1);
4300 4306