summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-06-13 23:27:16 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2010-06-13 23:27:16 -0400
commitf43cb6490878cb8f1dcb7e45044bc635f54d5951 (patch)
tree77a1dc7d2948223a6cc39130a19751dd1c22a697 /lisp/emacs-lisp/bytecomp.el
parentb9598260f96ddc652cd82ab64bbe922ccfc48a29 (diff)
downloademacs-f43cb6490878cb8f1dcb7e45044bc635f54d5951.tar.gz
emacs-f43cb6490878cb8f1dcb7e45044bc635f54d5951.tar.bz2
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.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
1 files changed, 1 insertions, 1 deletions
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."
(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)