]> git.eshelyaron.com Git - emacs.git/commit
Explicitly disallow named-let in code using dynamic binding
authorMattias Engdegård <mattiase@acm.org>
Mon, 21 Aug 2023 11:50:03 +0000 (13:50 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 21 Aug 2023 12:17:03 +0000 (14:17 +0200)
commitc21103bb76e6997064917b23b8fdfbf0a1149375
tree226ca946936fbbfb3a7e7bdf437f8ab4078ca9c8
parentf01a94fc585139ca8fd7434c88fea9efbed45440
Explicitly disallow named-let in code using dynamic binding

There is no point in permitting named-let to be used in dynbound code;
our code transforms are simply not valid in that context, and it's not
worth the trouble to make it work (to the extent that it is at all
possible). (Bug#59576)

* lisp/emacs-lisp/subr-x.el (named-let):
Error if used with dynamic binding.
* doc/lispref/variables.texi (Local Variables): Amend manual.
doc/lispref/variables.texi
lisp/emacs-lisp/subr-x.el