]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/subr.el (while-let): Fix docs if-let->if-let* (bug#60758).
authorSean Whitton <spwhitton@spwhitton.name>
Sun, 15 Jan 2023 17:01:41 +0000 (10:01 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Sun, 15 Jan 2023 17:01:41 +0000 (10:01 -0700)
lisp/subr.el

index 34dd847e9d59dcb5dffa236aa9c19ded355a3497..0f754fcd31ffd0c183932a444e1ef0d7df9836c0 100644 (file)
@@ -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)