summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-01-12 17:09:01 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-01-12 17:09:01 -0700
commit083badc9c122a802080552e7771e78ee47c01e3c (patch)
tree91fefaae32a0bd7c39cf282ac14dfb2dd1e718bb /lisp/subr.el
parent9ecebcdded157e1efc2f51b67967fd101797f225 (diff)
downloademacs-083badc9c122a802080552e7771e78ee47c01e3c.tar.gz
emacs-083badc9c122a802080552e7771e78ee47c01e3c.tar.bz2
emacs-083badc9c122a802080552e7771e78ee47c01e3c.zip
* lisp/subr.el (while-let): Use if-let, not if-let* (bug#60758).
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 62f72734e14..485ca9e4f1b 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2545,7 +2545,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))))))