aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2010-06-13 23:27:16 -0400
committerStefan Monnier2010-06-13 23:27:16 -0400
commitf43cb6490878cb8f1dcb7e45044bc635f54d5951 (patch)
tree77a1dc7d2948223a6cc39130a19751dd1c22a697
parentb9598260f96ddc652cd82ab64bbe922ccfc48a29 (diff)
downloademacs-f43cb6490878cb8f1dcb7e45044bc635f54d5951.tar.gz
emacs-f43cb6490878cb8f1dcb7e45044bc635f54d5951.zip
* lisp/Makefile.in (.el.elc): Increase max-lisp-eval-depth.
* lisp/emacs-lisp/bytecomp.el (byte-compile-check-variable): Update byte-compile-not-obsolete-var to byte-compile-not-obsolete-vars.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/Makefile.in7
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
3 files changed, 13 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c33ed04e0c2..af456bd5d2e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/bytecomp.el (byte-compile-check-variable):
4 Update byte-compile-not-obsolete-var to byte-compile-not-obsolete-vars.
5
6 * Makefile.in (.el.elc): Increase max-lisp-eval-depth.
7
12010-06-12 Chong Yidong <cyd@stupidchicken.com> 82010-06-12 Chong Yidong <cyd@stupidchicken.com>
2 9
3 * term/common-win.el (x-colors): Add all the color names defined 10 * term/common-win.el (x-colors): Add all the color names defined
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 25f7b89c9db..e6f2a66ec8e 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -202,7 +202,9 @@ compile-onefile:
202 @echo Compiling $(THEFILE) 202 @echo Compiling $(THEFILE)
203 @# Use byte-compile-refresh-preloaded to try and work around some of 203 @# Use byte-compile-refresh-preloaded to try and work around some of
204 @# the most common bootstrapping problems. 204 @# the most common bootstrapping problems.
205 @$(emacs) -l bytecomp.el -f byte-compile-refresh-preloaded $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE) 205 @$(emacs) -l bytecomp.el -f byte-compile-refresh-preloaded \
206 $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS) \
207 -f batch-byte-compile $(THEFILE)
206 208
207# Files MUST be compiled one by one. If we compile several files in a 209# Files MUST be compiled one by one. If we compile several files in a
208# row (i.e., in the same instance of Emacs) we can't make sure that 210# row (i.e., in the same instance of Emacs) we can't make sure that
@@ -217,7 +219,8 @@ compile-onefile:
217# cannot have prerequisites. 219# cannot have prerequisites.
218.el.elc: 220.el.elc:
219 @echo Compiling $< 221 @echo Compiling $<
220 @$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $< 222 @$(emacs) $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS) \
223 -f batch-byte-compile $<
221 224
222.PHONY: compile-first compile-main compile compile-always 225.PHONY: compile-first compile-main compile compile-always
223 226
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index c80bcd49b82..490d928c5a0 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -3038,7 +3038,7 @@ If BINDING is non-nil, VAR is being bound."
3038 (if (symbolp var) "constant" "nonvariable") 3038 (if (symbolp var) "constant" "nonvariable")
3039 (prin1-to-string var)))) 3039 (prin1-to-string var))))
3040 ((and (get var 'byte-obsolete-variable) 3040 ((and (get var 'byte-obsolete-variable)
3041 (not (eq var byte-compile-not-obsolete-var))) 3041 (not (memq var byte-compile-not-obsolete-vars)))
3042 (byte-compile-warn-obsolete var)))) 3042 (byte-compile-warn-obsolete var))))
3043 3043
3044(defsubst byte-compile-dynamic-variable-op (base-op var) 3044(defsubst byte-compile-dynamic-variable-op (base-op var)