[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 82ae9caadd 2/2: * lisp/subr.el (while-let): Fix docs if-let->if
From: |
Sean Whitton |
Subject: |
emacs-29 82ae9caadd 2/2: * lisp/subr.el (while-let): Fix docs if-let->if-let* (bug#60758). |
Date: |
Sun, 15 Jan 2023 12:02:06 -0500 (EST) |
branch: emacs-29
commit 82ae9caaddb561de7709dbab818311a6e3db3f50
Author: Sean Whitton <spwhitton@spwhitton.name>
Commit: Sean Whitton <spwhitton@spwhitton.name>
* lisp/subr.el (while-let): Fix docs if-let->if-let* (bug#60758).
---
lisp/subr.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 34dd847e9d..0f754fcd31 100644
--- 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)