]> git.eshelyaron.com Git - emacs.git/commit
(cl-flet, cl-labels): Fix bug#74870
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 21 Dec 2024 16:13:07 +0000 (11:13 -0500)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:19:58 +0000 (16:19 +0100)
commite36fa33410e97024d1f4696dd6b259a46e15c3f5
tree5acaed10e21077feabd0f52097f6a9ed49b2dd0b
parentf1d25158f3f6e109cccca65913f2b1e494502d94
(cl-flet, cl-labels): Fix bug#74870

* lisp/emacs-lisp/cl-macs.el (cl-flet, cl-labels): Wrap function
bodies in `cl-block`.

* test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs--test-flet-block): New test.

(cherry picked from commit 476426168106dbcee67d8ea667e11ebe80c7aaed)
lisp/emacs-lisp/cl-macs.el
test/lisp/emacs-lisp/cl-macs-tests.el