]> git.eshelyaron.com Git - emacs.git/commit
Run cconv for dynbound code as well
authorMattias Engdegård <mattiase@acm.org>
Tue, 14 Jun 2022 17:09:20 +0000 (19:09 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 14 Jun 2022 18:19:59 +0000 (20:19 +0200)
commitd6600481ae9423eb2c51150967050afb05c301b8
treec0126baad261bc2433b6f15c1247a7f0e25853f1
parent6825e5686a4bf21f5d5a0ae1af889097cfa2f597
Run cconv for dynbound code as well

Make cconv work for dynamically bound code and always run it.
This allows later stages to benefit from transformations and
normalisations in cconv.

* lisp/emacs-lisp/bytecomp.el (byte-compile-preprocess): Always run
cconv.
* lisp/emacs-lisp/cconv.el (cconv--analyze-function)
(cconv-analyze-form): In dynbound code, treat all variable bindings
as dynamic (lambda, let, let* and condition-case).
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/cconv.el