From: Michael Heerdegen Date: Thu, 23 May 2019 22:50:20 +0000 (+0200) Subject: * lisp/emacs-lisp/cl-macs.el (cl-callf): Tweak in docstring X-Git-Tag: emacs-27.0.90~2805^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a564d6e8bb0e5058c4c356a85a42c091436ad382;p=emacs.git * lisp/emacs-lisp/cl-macs.el (cl-callf): Tweak in docstring Say that lambdas are also allowed as FUNC argument. --- diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index c4a1dcb8baa..24e79acfa55 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -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)))