* lisp/emacs-lisp/cl-macs.el (cl-callf): Tweak in docstring
Say that lambdas are also allowed as FUNC argument.
This commit is contained in:
parent
5424436452
commit
a564d6e8bb
1 changed files with 3 additions and 2 deletions
|
@ -2597,8 +2597,9 @@ rather than all at the end (i.e. like `let*' rather than like `let')."
|
|||
;;;###autoload
|
||||
(defmacro cl-callf (func place &rest args)
|
||||
"Set PLACE to (FUNC PLACE ARGS...).
|
||||
FUNC should be an unquoted function name. PLACE may be a symbol,
|
||||
or any generalized variable allowed by `setf'."
|
||||
FUNC should be an unquoted function name or a lambda expression.
|
||||
PLACE may be a symbol, or any generalized variable allowed by
|
||||
`setf'."
|
||||
(declare (indent 2) (debug (cl-function place &rest form)))
|
||||
(gv-letplace (getter setter) place
|
||||
(let* ((rargs (cons getter args)))
|
||||
|
|
Loading…
Add table
Reference in a new issue