* 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:
Michael Heerdegen 2019-05-24 00:50:20 +02:00
parent 5424436452
commit a564d6e8bb

View file

@ -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)))