diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-11-22 22:23:16 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-11-22 22:23:16 +0100 |
commit | 033e96055cc172d8d84adc128aee7f7d9889bb00 (patch) | |
tree | 4e6e0a24c60f4c8776fb574bf31727dcaf4af4ba /lisp/emacs-lisp/bytecomp.el | |
parent | 6781cd670d1487bbf0364d80de68ca9733342769 (diff) | |
parent | 9b6ad3107f93d40f82c3c53dc0984c6d70aded83 (diff) | |
download | emacs-033e96055cc172d8d84adc128aee7f7d9889bb00.tar.gz emacs-033e96055cc172d8d84adc128aee7f7d9889bb00.tar.bz2 emacs-033e96055cc172d8d84adc128aee7f7d9889bb00.zip |
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 6d2bff103e7..532f3d1a246 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -2642,7 +2642,8 @@ list that represents a doc string reference. ;; and similar macros cleaner. (put 'eval 'byte-hunk-handler 'byte-compile-file-form-eval) (defun byte-compile-file-form-eval (form) - (if (eq (car-safe (nth 1 form)) 'quote) + (if (and (eq (car-safe (nth 1 form)) 'quote) + (equal (nth 2 form) lexical-binding)) (nth 1 (nth 1 form)) (byte-compile-keep-pending form))) |