* lisp/subr.el (while-let): Fix docs if-let->if-let* (bug#60758).
This commit is contained in:
parent
f16bd1ead4
commit
82ae9caadd
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue