Skip to content

Commit a564d6e

Browse files
author
Michael Heerdegen
committed
* lisp/emacs-lisp/cl-macs.el (cl-callf): Tweak in docstring
Say that lambdas are also allowed as FUNC argument.
1 parent 5424436 commit a564d6e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lisp/emacs-lisp/cl-macs.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2597,8 +2597,9 @@ rather than all at the end (i.e. like `let*' rather than like `let')."
25972597
;;;###autoload
25982598
(defmacro cl-callf (func place &rest args)
25992599
"Set PLACE to (FUNC PLACE ARGS...).
2600-
FUNC should be an unquoted function name. PLACE may be a symbol,
2601-
or any generalized variable allowed by `setf'."
2600+
FUNC should be an unquoted function name or a lambda expression.
2601+
PLACE may be a symbol, or any generalized variable allowed by
2602+
`setf'."
26022603
(declare (indent 2) (debug (cl-function place &rest form)))
26032604
(gv-letplace (getter setter) place
26042605
(let* ((rargs (cons getter args)))

0 commit comments

Comments
 (0)