diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 |
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) |