]> git.eshelyaron.com Git - emacs.git/commit
Remove harmful and redundant bindings from the byte compiler.
authorAlan Mackenzie <acm@muc.de>
Wed, 9 Aug 2023 11:27:28 +0000 (11:27 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 9 Aug 2023 11:29:22 +0000 (11:29 +0000)
commit18a84922c5167c995f03c5c023c978f127d37dde
tree1a39ca7dc4af4ace12b17641cdec292a7dc31f9d
parent722b1ebc6e0ca23c018d5264e5c70b8f37bd9150
Remove harmful and redundant bindings from the byte compiler.

This fixes bug#65017.  Binding symbols-with-pos-enabled in two
macro handling functions was harmful; one of these caused
cl--labels-convert to fail.  Binding print-symbols-bare in many
places in the byte compiler was redundant.

* lisp/emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel)
(byte-compile-initial-macro-environment)
(byte-compile-output-file-form, byte-compile-output-docform)
(byte-compile-preprocess): Remove bindings of
print-symbols-bare.

* lisp/emacs-lisp/macroexp.el (macroexp--compiler-macro)
(internal-macroexpand-for-load): Remove bindings of
symbols-with-pos-enabled.
(internal-macroexpand-for-load): Remove binding of
print-symbols-bare.
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/macroexp.el