summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2020-12-01 13:37:27 +0100
committerMichael Albinus <michael.albinus@gmx.de>2020-12-01 13:37:27 +0100
commit1a3aa6043a51e5bb4007889dd7dcabb55dc44132 (patch)
treea74faa56882ae4f01960fb3a323d1c04683043ec /lisp/emacs-lisp
parentba692b790da79cde98932295362a5de138991d47 (diff)
parentace6eba036e64ff9eee6965951c48d0634b9c696 (diff)
downloademacs-1a3aa6043a51e5bb4007889dd7dcabb55dc44132.tar.gz
emacs-1a3aa6043a51e5bb4007889dd7dcabb55dc44132.tar.bz2
emacs-1a3aa6043a51e5bb4007889dd7dcabb55dc44132.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into master
Diffstat (limited to 'lisp/emacs-lisp')
-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 a20f3634560..879f08a09f6 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -3203,7 +3203,7 @@ for symbols generated by the byte compiler itself."
run-hook-with-args-until-failure))
(pcase (cdr form)
(`(',var . ,_)
- (when (assq var byte-compile-lexical-variables)
+ (when (memq var byte-compile-lexical-variables)
(byte-compile-report-error
(format-message "%s cannot use lexical var `%s'" fn var))))))
;; Warn about using obsolete hooks.