[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 20d604c 069/184: ivy.el (ivy-restrict-to-matches): Fix for

From: Oleh Krehel
Subject: [elpa] master 20d604c 069/184: ivy.el (ivy-restrict-to-matches): Fix for ivy-resume
Date: Wed, 16 Oct 2019 13:14:50 -0400 (EDT)

branch: master
commit 20d604c139b82d98010aabbbc00ad487438bdf8e
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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 
   (if (ivy-state-dynamic-collection ivy-last)
         (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))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]