emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master a564d6e: * lisp/emacs-lisp/cl-macs.el (cl-callf): T


From: Michael Heerdegen
Subject: [Emacs-diffs] master a564d6e: * lisp/emacs-lisp/cl-macs.el (cl-callf): Tweak in docstring
Date: Thu, 23 May 2019 18:55:25 -0400 (EDT)

branch: master
commit a564d6e8bb0e5058c4c356a85a42c091436ad382
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>

    * 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 c4a1dcb..24e79ac 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]