projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f16bd1e
)
* lisp/subr.el (while-let): Fix docs if-let->if-let* (bug#60758).
author
Sean Whitton
<spwhitton@spwhitton.name>
Sun, 15 Jan 2023 17:01:41 +0000
(10:01 -0700)
committer
Sean Whitton
<spwhitton@spwhitton.name>
Sun, 15 Jan 2023 17:01:41 +0000
(10:01 -0700)
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index 34dd847e9d59dcb5dffa236aa9c19ded355a3497..0f754fcd31ffd0c183932a444e1ef0d7df9836c0 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-2540,11
+2540,13
@@
The variable list SPEC is the same as in `if-let'."
Evaluate each binding in turn, stopping if a binding value is nil.
If all bindings are non-nil, eval BODY and repeat.
-The variable list SPEC is the same as in `if-let'."
+The variable list SPEC is the same as in `if-let
*
'."
(declare (indent 1) (debug if-let))
(let ((done (gensym "done")))
`(catch ',done
(while t
+ ;; This is `if-let*', not `if-let', deliberately, despite the
+ ;; name of this macro. See bug#60758.
(if-let* ,spec
(progn
,@body)