projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cb9342
)
Tweak while-let definition
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 29 Sep 2022 10:29:36 +0000
(12:29 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 29 Sep 2022 10:29:36 +0000
(12:29 +0200)
* lisp/subr.el (while-let): Use if-let* since we don't need/want
the backwards compat of if-let.
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index 2a8fc46a9f9801148ceb95f1b0dd803981dbb762..4f8273d56fba985df99e517b4b8b9b834d9efc1e 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-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))))))