]> code.delx.au - gnu-emacs/commitdiff
* lisp/Makefile.in (.el.elc): Increase max-lisp-eval-depth.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 14 Jun 2010 03:27:16 +0000 (23:27 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 14 Jun 2010 03:27:16 +0000 (23:27 -0400)
* lisp/emacs-lisp/bytecomp.el (byte-compile-check-variable):
Update byte-compile-not-obsolete-var to byte-compile-not-obsolete-vars.

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

index c33ed04e0c2ad55a5cf0758e5b3a6fa93fbd00ad..af456bd5d2e13a1505e00fa71c305772ee1b15e3 100644 (file)
@@ -1,3 +1,10 @@
+2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/bytecomp.el (byte-compile-check-variable):
+       Update byte-compile-not-obsolete-var to byte-compile-not-obsolete-vars.
+
+       * Makefile.in (.el.elc): Increase max-lisp-eval-depth.
+
 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
 
        * term/common-win.el (x-colors): Add all the color names defined
index 25f7b89c9db987ffaff934cb88ab5559e3d72486..e6f2a66ec8e5199993ac74cdaeed51e6cfe6dba2 100644 (file)
@@ -202,7 +202,9 @@ compile-onefile:
        @echo Compiling $(THEFILE)
        @# Use byte-compile-refresh-preloaded to try and work around some of
        @# the most common bootstrapping problems.
-       @$(emacs) -l bytecomp.el -f byte-compile-refresh-preloaded $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE)
+       @$(emacs) -l bytecomp.el -f byte-compile-refresh-preloaded \
+               $(BIG_STACK_OPTS) $(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
@@ -217,7 +219,8 @@ compile-onefile:
 # cannot have prerequisites.
 .el.elc:
        @echo Compiling $<
-       @$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $<
+       @$(emacs) $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS) \
+               -f batch-byte-compile $<
 
 .PHONY: compile-first compile-main compile compile-always
 
index c80bcd49b8255de52f949af280cdf8754e737550..490d928c5a03b5976ba6c5a68b8290cedf6e3146 100644 (file)
@@ -3038,7 +3038,7 @@ If BINDING is non-nil, VAR is being bound."
                              (if (symbolp var) "constant" "nonvariable")
                              (prin1-to-string var))))
        ((and (get var 'byte-obsolete-variable)
-             (not (eq var byte-compile-not-obsolete-var)))
+             (not (memq var byte-compile-not-obsolete-vars)))
         (byte-compile-warn-obsolete var))))
 
 (defsubst byte-compile-dynamic-variable-op (base-op var)