* dash.el (--iterate): Evaluate FORM N-1, not N, times, fixing a regression in Dash 2.18.0. Don't evaluate INIT if N is zero, fixing a bug since the introduction of the macro. * dev/examples.el (-flatten-n): Add regression test. (-iterate): Test for superfluous evaluations. Fixes #373.master
parent
0e97578208
commit
3deba098ab
2 changed files with 16 additions and 8 deletions
Loading…
Reference in new issue