Skip to content
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

Fix swiper-avy error with swiper-isearch #2873

Merged
merged 2 commits into from
May 21, 2021

Conversation

basil-conto
Copy link
Collaborator

  • swiper.el (swiper-avy): Don't call swiper--update-input-ivy for swiper-isearch, as the former expects string candidates and the latter now uses buffer positions.

Closes #2867.
Cc: @dionisos2

* swiper.el (swiper-avy): Don't call swiper--update-input-ivy for
swiper-isearch, as the former expects string candidates and the
latter now uses buffer positions.

Closes abo-abo#2867.
* swiper.el (swiper--avy-index): New function extracted from
swiper--avy-goto that additionally checks for the 'point' text
property used by swiper-isearch (abo-abo#2867).
(swiper--avy-goto): Use it.  Set ivy--index directly instead of
going through ivy-set-index as the latter heeds ivy-calling.
@basil-conto basil-conto merged commit a5eade0 into abo-abo:master May 21, 2021
@basil-conto basil-conto deleted the blc/avy branch May 21, 2021 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug with swiper-avy and swiper-isearch
1 participant