branch: master commit 20d604c139b82d98010aabbbc00ad487438bdf8e Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy-restrict-to-matches): Fix for ivy-resume Thanks @ambihelical --- ivy.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ivy.el b/ivy.el index 499d291..5a33d6f 100644 --- a/ivy.el +++ b/ivy.el @@ -4518,7 +4518,8 @@ You can also delete an element from history with \\[ivy-reverse-i-search-kill]." (if (ivy-state-dynamic-collection ivy-last) (progn (setf (ivy-state-dynamic-collection ivy-last) nil) - (setq ivy--all-candidates ivy--old-cands)) + (setf (ivy-state-collection ivy-last) + (setq ivy--all-candidates ivy--old-cands))) (setq ivy--all-candidates (ivy--filter ivy-text ivy--all-candidates))))