diff options
author | Alan Mackenzie <acm@muc.de> | 2022-04-22 19:11:31 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-04-22 19:11:31 +0000 |
commit | 0b9b363dabd70032a288e14333896022caa2d252 (patch) | |
tree | 851501a770052112a5a88886caa68ea00e9e407b /lisp/emacs-lisp/lisp.el | |
parent | 5b23c9942ae057c886e68edb8c4bf09bf7e8eda9 (diff) | |
download | emacs-0b9b363dabd70032a288e14333896022caa2d252.tar.gz emacs-0b9b363dabd70032a288e14333896022caa2d252.tar.bz2 emacs-0b9b363dabd70032a288e14333896022caa2d252.zip |
Byte compiler: Prevent special forms' symbols being replaced by bare symbols
These are symbols with position from source code, which should not be replaced
by bare symbols in, e.g., optimization functions.
* lisp/Makefile.in: (BYTE_COMPILE_FLAGS, compile-first case): Set
max-specpdl-size to 5000 for the benefit of lisp/emacs-lisp/comp.el.
* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker)
(byte-optimize--rename-var, byte-optimize-if, byte-optimize-letX)
* lisp/emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel)
(byte-compile-lambda)
* lisp/emacs-lisp/cconv.el (cconv-convert)
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Preserve, e.g., (car
form) in the byte compiler, when this form's car is a symbol with position of
a special form, rather than replacing the symbol with a bare symbol, e.g.
'cond.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions