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

Comments

@darkfeline
Copy link

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

This comment has been minimized.

Copy link
Author

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
Projects
None yet
1 participant
You can’t perform that action at this time.