]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert some of the CANNOT_DUMP fix.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Jan 2014 07:56:28 +0000 (23:56 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Jan 2014 07:56:28 +0000 (23:56 -0800)
Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
but fixing this can wait until after the next release.
* leim/Makefile.in (RUN_EMACS): Keep EMACSLOADPATH empty.
* lisp/Makefile.in (emacs): Keep EMACSLOADPATH empty.
* src/lread.c (init_lread): Fix typo: NILP, not !NILP.

Fixes: debbugs:16494
leim/ChangeLog
leim/Makefile.in
lisp/ChangeLog
lisp/Makefile.in
src/ChangeLog
src/lread.c

index 21f570b29c80bff7471cc92fd0a64a4dc9407814..e45d632cedd32375710c68bfaff61215a5ff535d 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Revert some of the CANNOT_DUMP fix (Bug#16494).
+       * Makefile.in (RUN_EMACS): Keep EMACSLOADPATH empty.
+
 2013-12-27  Paul Eggert  <eggert@cs.ucla.edu>
 
        Sync better from sources.
index b1b368883600a3c8a2dd23018cc83a38132d66ef..6bfc3ae70487c5bceba970fe604310a4bc6da85c 100644 (file)
@@ -34,8 +34,8 @@ leimdir = ${srcdir}/../lisp/leim
 EMACS = ../src/emacs
 
 # How to run Emacs.
-RUN_EMACS = EMACSLOADPATH='$(srcdir)/../lisp' '$(EMACS)' \
-  -batch --no-site-file --no-site-lisp
+# Prevent any setting of EMACSLOADPATH in user environment causing problems.
+RUN_EMACS = EMACSLOADPATH= '$(EMACS)' -batch --no-site-file --no-site-lisp
 
 MKDIR_P = @MKDIR_P@
 
index cd7184c1b867322afa228b0dee0066f8c01ed53b..1c63cacf6acb5dbfdd0ffe1f460e64ef83e3e284 100644 (file)
@@ -1,3 +1,10 @@
+2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Revert some of the CANNOT_DUMP fix (Bug#16494).
+       Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
+       but fixing this can wait until after the next release.
+       * Makefile.in (emacs): Keep EMACSLOADPATH empty.
+
 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
 
        * eshell/esh-mode.el (eshell-password-prompt-regexp):
index c2c108334a8d65ec1cdf708ceeadf6551c70c2df..ebd2432e10c928c25564fb2ac9899862e3e74b9f 100644 (file)
@@ -89,7 +89,8 @@ BIG_STACK_DEPTH = 2200
 BIG_STACK_OPTS = --eval "(setq max-lisp-eval-depth $(BIG_STACK_DEPTH))"
 
 # Set load-prefer-newer for the benefit of the non-bootstrappers.
-BYTE_COMPILE_FLAGS = $(BIG_STACK_OPTS) --eval '(setq load-prefer-newer t)' $(BYTE_COMPILE_EXTRA_FLAGS)
+BYTE_COMPILE_FLAGS = $(BIG_STACK_OPTS) \
+  --eval '(setq load-prefer-newer t)' $(BYTE_COMPILE_EXTRA_FLAGS)
 
 # Files to compile before others during a bootstrap.  This is done to
 # speed up the bootstrap process.  They're ordered by size, so we use
@@ -106,7 +107,8 @@ COMPILE_FIRST = \
        $(lisp)/emacs-lisp/autoload.elc
 
 # The actual Emacs command run in the targets below.
-emacs = EMACSLOADPATH='$(lisp)' '$(EMACS)' $(EMACSOPT)
+# Prevent any setting of EMACSLOADPATH in user environment causing problems.
+emacs = EMACSLOADPATH= '$(EMACS)' $(EMACSOPT)
 
 # Common command to find subdirectories
 setwins=for file in `find . -type d -print`; do \
index f20b832ed40047064dadfb5242d9bf0ed5b2eafa..87b84e00918e56ee5e4b3550d247bf8be81c5168 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Revert some of the CANNOT_DUMP fix (Bug#16494).
+       * lread.c (init_lread): Fix typo: NILP, not !NILP.
+
 2014-01-19  Eli Zaretskii  <eliz@gnu.org>
 
        * w32font.c (w32_load_unicows_or_gdi32, get_outline_metrics_w)
index dcc883b2445d12fa224c4e1e52941268c4cc8bc4..d6118d0a4e3d042b354b0bff9e6253bfdd522dfa 100644 (file)
@@ -4345,7 +4345,7 @@ init_lread (void)
 #ifdef CANNOT_DUMP
   bool use_loadpath = true;
 #else
-  bool use_loadpath = !NILP (Vpurify_flag);
+  bool use_loadpath = NILP (Vpurify_flag);
 #endif
 
   if (use_loadpath && egetenv ("EMACSLOADPATH"))
@@ -4388,7 +4388,7 @@ init_lread (void)
             }
         }                       /* Fmemq (Qnil, Vload_path) */
     }
-  else                          /* Vpurify_flag || !EMACSLOADPATH */
+  else
     {
       Vload_path = load_path_default ();
 
@@ -4405,7 +4405,7 @@ init_lread (void)
           sitelisp = decode_env_path (0, PATH_SITELOADSEARCH, 0);
           if (! NILP (sitelisp)) Vload_path = nconc2 (sitelisp, Vload_path);
         }
-    }                           /* !Vpurify_flag && EMACSLOADPATH */
+    }
 
   Vvalues = Qnil;