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

Initialize ivy-last to empty state. #352

Merged
merged 1 commit into from Jan 17, 2016

Conversation

Projects
None yet
1 participant
@ghost

ghost commented Jan 17, 2016

Initialize ivy-last to an empty state.

This fixes an error that occurs when running the single-match-case ivy-completion-in-region before ivy-read in the Emacs session.

Previously,

(setf (ivy-state-window ivy-last) (selected-window))

ivy-last might be nil, resulting in the error.

@abo-abo abo-abo merged commit 763d42b into abo-abo:master Jan 17, 2016

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 Jan 17, 2016

Owner

Thanks.

Owner

abo-abo commented Jan 17, 2016

Thanks.

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