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

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

[elpa] master 299bc13 097/272: Fix initial-input not set to nil for 'rea


From: Oleh Krehel
Subject: [elpa] master 299bc13 097/272: Fix initial-input not set to nil for 'read-file-name-internal
Date: Mon, 25 Apr 2016 10:13:19 +0000

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

    Fix initial-input not set to nil for 'read-file-name-internal
    
    ivy.el (ivy--reset-state): This change is due to (ivy-set-actions t ...)
---
 ivy.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 994d192..042dc4a 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1337,7 +1337,8 @@ This is useful for recursive `ivy-read'."
                            (equal initial-input default-directory)
                            (equal initial-input ""))
                  (setq coll (cons initial-input coll)))
-               (unless (ivy-state-action ivy-last)
+               (unless (and (ivy-state-action ivy-last)
+                            (not (equal (ivy--get-action ivy-last) 'identity)))
                  (setq initial-input nil))))
             ((eq collection 'internal-complete-buffer)
              (setq coll (ivy--buffer-list "" ivy-use-virtual-buffers)))



reply via email to

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