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

Predicates aren't applied to string lists #1158

Closed
darkfeline opened this issue Aug 14, 2017 · 1 comment
Closed

Predicates aren't applied to string lists #1158

darkfeline opened this issue Aug 14, 2017 · 1 comment

Comments

@darkfeline
Copy link

@darkfeline darkfeline commented Aug 14, 2017

(ivy-completing-read "Test: "
                 '("A" "b")
                 (lambda (x)
                   (string= x "A"))
                 nil nil nil "t")

From what I can tell, the predicate should be applied to the collection as it is in all other cases.

Note: This is in the default t case in the giant cond in ivy--reset-state.

@darkfeline
Copy link
Author

@darkfeline darkfeline commented Aug 14, 2017

swiper/ivy.el

Line 1767 in a5cd13b

(setq coll collection)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant