[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29799: 24.5; cl-loop guard clause missing
From: |
Noam Postavsky |
Subject: |
bug#29799: 24.5; cl-loop guard clause missing |
Date: |
Sat, 06 Jan 2018 08:43:56 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
Tino Calancha <tino.calancha@gmail.com> writes:
> Fix #Bug#29799
>
> * lisp/emacs-lisp/cl-macs.el (cl--loop-guard-cond): New variable.
> (cl--parse-loop-clause): Set it non-nil if the loop contains
> a for/as clause.
> (cl-loop): After update the loop variable, update other variables
> only if cl--loop-guard-cond is non-nil.
>
> * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-loop-for-as-equals-and):
> New test.
Looks good, but please add some more info to the summary line.