From a564d6e8bb0e5058c4c356a85a42c091436ad382 Mon Sep 17 00:00:00 2001 From: Michael Heerdegen Date: Fri, 24 May 2019 00:50:20 +0200 Subject: [PATCH] * lisp/emacs-lisp/cl-macs.el (cl-callf): Tweak in docstring Say that lambdas are also allowed as FUNC argument. --- lisp/emacs-lisp/cl-macs.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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))) -- 2.39.2