From f43cb6490878cb8f1dcb7e45044bc635f54d5951 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 13 Jun 2010 23:27:16 -0400 Subject: * 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. --- lisp/emacs-lisp/bytecomp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/bytecomp.el') 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) -- cgit v1.2.3