[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59786: Allowing arbitrary expressions in cl-labels
From: |
Michael Heerdegen |
Subject: |
bug#59786: Allowing arbitrary expressions in cl-labels |
Date: |
Wed, 13 Nov 2024 15:00:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
| (cl-labels): Add support for (FUNC EXP) bindings (bug#59786)
|
| Allow `cl-labels` to use the same (FUNC EXP) bindings as were already added
| to `cl-flet` in Emacs-25. The Info doc (mistakenly) already documented this
| new feature.
|
| * lisp/emacs-lisp/cl-macs.el (cl--self-tco-on-form): New function.
| (cl-labels): Use it to add support for (FUNC EXP) bindings.
|
| * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs--labels): Add test for
| tail-recursive (FUNC EXP) bindings.
Thanks... but what happened to your `cl-lib-test-labels' ert test for
"cl-lib-tests.el"?
Michael.