diff options
author | Michael Heerdegen <michael_heerdegen@web.de> | 2019-05-24 00:50:20 +0200 |
---|---|---|
committer | Michael Heerdegen <michael_heerdegen@web.de> | 2019-05-24 00:51:46 +0200 |
commit | a564d6e8bb0e5058c4c356a85a42c091436ad382 (patch) | |
tree | 97a06093bc2a394e187b9e2706baa59f01923e2e /lisp/emacs-lisp/cl-macs.el | |
parent | 5424436452bc0b3d8a62a8398f92d0c2db81e22b (diff) | |
download | emacs-a564d6e8bb0e5058c4c356a85a42c091436ad382.tar.gz emacs-a564d6e8bb0e5058c4c356a85a42c091436ad382.tar.bz2 emacs-a564d6e8bb0e5058c4c356a85a42c091436ad382.zip |
* lisp/emacs-lisp/cl-macs.el (cl-callf): Tweak in docstring
Say that lambdas are also allowed as FUNC argument.
Diffstat (limited to 'lisp/emacs-lisp/cl-macs.el')
-rw-r--r-- | lisp/emacs-lisp/cl-macs.el | 5 |
1 files 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))) |