diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2025-03-30 16:17:00 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2025-03-30 16:17:00 +0200 |
commit | faa3fbe01058be98f9f6cd512d0723b99c9a6cf5 (patch) | |
tree | a3996f25c9ed1af2687ebe4ba1088220b52dd4b8 /lisp/emacs-lisp | |
parent | 4e85df0491bd9f2f0c0f9a302c0851660a6feda6 (diff) | |
parent | e6b4c0bcebf4376f60e7801be5f998b42c1e6b06 (diff) | |
download | emacs-faa3fbe01058be98f9f6cd512d0723b99c9a6cf5.tar.gz emacs-faa3fbe01058be98f9f6cd512d0723b99c9a6cf5.tar.bz2 emacs-faa3fbe01058be98f9f6cd512d0723b99c9a6cf5.zip |
Merge from origin/emacs-30
e6b4c0bcebf lisp/emacs-lisp/cl-macs.el (cl-labels): Fix docstring (bu...
7a976d1aaf7 Fix minor issues in documentation of `use-package'
99ff59bd66c PHP should be in the PATH, either locally or remotely. (b...
26873d5028e Avoid warning when loading 'go-ts-mode'
a702f29a00b ; Fix package-version values
a1fbc51dc71 ; * lisp/which-key.el (which-key-idle-delay): Fix package...
# Conflicts:
# lisp/progmodes/php-ts-mode.el
# lisp/which-key.el
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index fd5cdae3796..960f2e6742b 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -2276,9 +2276,10 @@ Like `cl-flet' but the definitions can refer to previous ones. (defmacro cl-labels (bindings &rest body) "Make local (recursive) function definitions. -BINDINGS is a list of definitions of the form (FUNC ARGLIST BODY...) -where FUNC is the function name, ARGLIST its arguments, and BODY the -forms of the function body. +Each definition can take the form (FUNC EXP) where FUNC is the function +name, and EXP is an expression that returns the function value to which +it should be bound, or it can take the more common form (FUNC ARGLIST +BODY...) which is a shorthand for (FUNC (lambda ARGLIST BODY)). FUNC is defined in any BODY, as well as FORM, so you can write recursive and mutually recursive function definitions. See Info node |