New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from May 24, 2015

Conversation

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.

@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

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo May 24, 2015

Owner

Thanks!

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