]> git.eshelyaron.com Git - emacs.git/commitdiff
* Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 Sep 2009 15:29:50 +0000 (15:29 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 Sep 2009 15:29:50 +0000 (15:29 +0000)
* emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): Don't autoload.

lisp/ChangeLog
lisp/Makefile.in
lisp/emacs-lisp/bytecomp.el

index 532c89656c13222c94004b020069d48c86c4b220..9e7a705f80aad6b774d0362a182523fea9804a27 100644 (file)
@@ -1,3 +1,9 @@
+2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
+       * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
+       Don't autoload.
+
 2009-09-15  Stephen Eglen  <stephen@gnu.org>
 
        * iswitchb.el (iswitchb-read-buffer): When selecting a match from
index 55d40b7116b560ac35c3ed52d22dbf491dba11e5..66ef1d279a5e46887b2ee79b161a6d66dff67a14 100644 (file)
@@ -1288,7 +1288,9 @@ ELCFILES = \
 # src/Makefile.in to rebuild a particular Lisp file, no questions asked.
 compile-onefile:
        @echo Compiling $(THEFILE)
-       @$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE)
+       # Use byte-compile-refresh-preloaded to try a work around some of
+       # the most common bootstrapping problems.
+       @$(emacs) -l bytecomp.el -f byte-compile-refresh-preloaded $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE)
 
 # Files MUST be compiled one by one. If we compile several files in a
 # row (i.e., in the same instance of Emacs) we can't make sure that
index 12052f7b4c66f6f53ff9afbbaeab53536d647163..421db38879fe0f3095dbe7bf1ee114555a155bbe 100644 (file)
@@ -4394,7 +4394,6 @@ already up-to-date."
                (prin1-to-string (cdr err)))
        nil))))
 
-;;;###autoload
 (defun byte-compile-refresh-preloaded ()
   "Reload any Lisp file that was changed since Emacs was dumped.
 Use with caution."