mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-04 08:47:11 +00:00
Tweak while-let definition
* lisp/subr.el (while-let): Use if-let* since we don't need/want the backwards compat of if-let.
This commit is contained in:
parent
4cb9342a3b
commit
0e72d4793c
@ -2524,7 +2524,7 @@ The variable list SPEC is the same as in `if-let'."
|
||||
(let ((done (gensym "done")))
|
||||
`(catch ',done
|
||||
(while t
|
||||
(if-let ,spec
|
||||
(if-let* ,spec
|
||||
(progn
|
||||
,@body)
|
||||
(throw ',done nil))))))
|
||||
|
Loading…
Reference in New Issue
Block a user