mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
Merge from origin/emacs-30
e6b4c0bceblisp/emacs-lisp/cl-macs.el (cl-labels): Fix docstring (bu...7a976d1aafFix minor issues in documentation of `use-package'99ff59bd66PHP should be in the PATH, either locally or remotely. (b...26873d5028Avoid warning when loading 'go-ts-mode'a702f29a00; Fix package-version valuesa1fbc51dc7; * lisp/which-key.el (which-key-idle-delay): Fix package... # Conflicts: # lisp/progmodes/php-ts-mode.el # lisp/which-key.el
This commit is contained in:
commit
faa3fbe010
6 changed files with 47 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue