projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec097d8
)
* lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause): Fix bug#65833
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 9 Sep 2023 02:17:43 +0000
(22:17 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 9 Sep 2023 02:17:43 +0000
(22:17 -0400)
For some reason the intervals case failed to push the var to
`loop-for-bindings` before pushing to `loop-for-sets`.
AFAICT this was the only place where we made that mistake.
lisp/emacs-lisp/cl-macs.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cl-macs.el
b/lisp/emacs-lisp/cl-macs.el
index 32a266aa26a4d899e44ed1534177e63e479468b8..c8e2610c8b0578c6b229653133d16eb70c78e6a3 100644
(file)
--- a/
lisp/emacs-lisp/cl-macs.el
+++ b/
lisp/emacs-lisp/cl-macs.el
@@
-1465,6
+1465,7
@@
For more details, see Info node `(cl)Loop Facility'.
(t (setq buf (cl--pop2 cl--loop-args)))))
(if (and (consp var) (symbolp (car var)) (symbolp (cdr var)))
(setq var1 (car var) var2 (cdr var))
+ (push (list var nil) loop-for-bindings)
(push (list var `(cons ,var1 ,var2)) loop-for-sets))
(cl--loop-set-iterator-function
'intervals (lambda (body)