emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master e05e3b7 39/57: ivy.el (ivy-read): Keep the last ivy--index


From: Oleh Krehel
Subject: [elpa] master e05e3b7 39/57: ivy.el (ivy-read): Keep the last ivy--index for :dynamic-collection
Date: Tue, 19 May 2015 14:21:36 +0000

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

    ivy.el (ivy-read): Keep the last ivy--index for :dynamic-collection
---
 ivy.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ivy.el b/ivy.el
index 96e20dc..119f76c 100644
--- a/ivy.el
+++ b/ivy.el
@@ -675,6 +675,8 @@ candidates with each input."
                               coll))
         (setq coll (cons preselect coll))))
     (setq ivy--index (or
+                      (and dynamic-collection
+                           ivy--index)
                       (and preselect
                            (ivy--preselect-index
                             coll initial-input preselect))



reply via email to

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