]> git.eshelyaron.com Git - emacs.git/commit
Body of dynamic let-bindings is not in tail position
authorMattias Engdegård <mattiase@acm.org>
Mon, 20 Dec 2021 10:59:22 +0000 (11:59 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 20 Dec 2021 15:26:02 +0000 (16:26 +0100)
commit92ffe44834b8f77ee3f4d37edfdb19f30a376869
tree505872b790d2b6799d4b26a34187ca834d3a4475
parent8706f6fde13729bf330693cfd163773583e526a9
Body of dynamic let-bindings is not in tail position

This fixes a known bug in `named-let`.

* lisp/emacs-lisp/cl-macs.el (cl--self-tco): Prevent TCO from inside
dynamic variable bindings.
* test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs--labels): Add test.
lisp/emacs-lisp/cl-macs.el
test/lisp/emacs-lisp/cl-macs-tests.el