[Top][All Lists]

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

[elpa] master 13be8ab 004/184: ivy.el (ivy--reset-state): Fix ivy-resume

From: Oleh Krehel
Subject: [elpa] master 13be8ab 004/184: ivy.el (ivy--reset-state): Fix ivy-resume
Date: Wed, 16 Oct 2019 13:14:38 -0400 (EDT)

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

    ivy.el (ivy--reset-state): Fix ivy-resume
    `ivy-text' is reset to "", but `ivy-resume' passes in `initial-input'.
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index c4633ca..2b96cbd 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2170,7 +2170,7 @@ This is useful for recursive `ivy-read'."
-             (setq coll (funcall collection ivy-text)))
+             (setq coll (funcall collection (or initial-input ""))))
             ((consp (car-safe collection))
              (setq collection (cl-remove-if-not predicate collection))
              (when (and sort (setq sort-fn (ivy--sort-function caller)))

reply via email to

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