Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ivy-restrict-to-matches for dynamic colls
Other parts of Ivy, specifically ivy--wnd-cands-to-str, use ivy-state-dynamic-collection to differentiate between programmed completion functions and Ivy's dynamic collections. By disabling ivy-state-dynamic-collection in ivy-restrict-to-matches, we lose this ability. This leads to errors when collections are mishandled. * ivy.el (ivy-restrict-to-matches): When disabling ivy-state-dynamic-collection, also make sure that minibuffer-completion-table no longer holds a dynamic collection. Re: #2875. Fixes #2893.
- Loading branch information