]> git.eshelyaron.com Git - emacs.git/commit
Allow `letrec` binding without init expression
authorMattias EngdegÄrd <mattiase@acm.org>
Sat, 4 May 2024 12:09:23 +0000 (14:09 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:39:02 +0000 (18:39 +0200)
commitc1d379d41a99aa61768536f6a5bd0b97d8519ce1
tree971895ccbaae35ceda62393bab87b192b0070e3b
parent049ba8d24c01417990f119ec71b7efc0aa4ce1b1
Allow `letrec` binding without init expression

For example, (letrec (... (x) ...) ...) is now allowed.

* lisp/subr.el (letrec): Allow omitted init expression.
* test/lisp/subr-tests.el (subr--tests-letrec): Add test case.

(cherry picked from commit fd859fbea2e9d13e76db1c5295d9ddd1c5955d83)
lisp/subr.el
test/lisp/subr-tests.el