diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2020-12-01 13:37:27 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2020-12-01 13:37:27 +0100 |
commit | 1a3aa6043a51e5bb4007889dd7dcabb55dc44132 (patch) | |
tree | a74faa56882ae4f01960fb3a323d1c04683043ec /lisp/emacs-lisp | |
parent | ba692b790da79cde98932295362a5de138991d47 (diff) | |
parent | ace6eba036e64ff9eee6965951c48d0634b9c696 (diff) | |
download | emacs-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.el | 2 |
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. |