* 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 c33ed04..af456bd 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 25f7b89..e6f2a66 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 c80bcd4..490d928 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)