ivy.el (ivy-next-line): Fix wraparound at end of candidates #118

Merged
merged 1 commit into from May 24, 2015

Projects

None yet

2 participants

@ilohmar
Contributor
ilohmar commented May 24, 2015

The when clause previously ran even when the updated ivy-index was the proper last candidate (1- ivy--length). When not wrapping, the code still worked, since ivy-index is explicitly set again. With ivy-wrap t, the choice was immediately set to the first candidate, so you could not reach the last candidate by going down.

Fixed, symmetric to ivy-previous-line.

@ilohmar ilohmar ivy.el (ivy-next-line): Fix wraparound at end of candidates
856e1bd
@abo-abo abo-abo merged commit 856e1bd into abo-abo:master May 24, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@abo-abo
Owner
abo-abo commented May 24, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment