]> code.delx.au - gnu-emacs-elpa/commitdiff
ivy.el (ivy-partial-or-done): Always forward to `ivy-alt-done'
authorOleh Krehel <ohwoeowho@gmail.com>
Wed, 13 May 2015 07:46:07 +0000 (09:46 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 13 May 2015 07:46:07 +0000 (09:46 +0200)
Fixes #105

ivy.el

diff --git a/ivy.el b/ivy.el
index d620a8cb1c71ced6f5e4307a1d37013031cfd075..b071de6f6bd23db42e9bbaa90368a9b005fe449b 100644 (file)
--- a/ivy.el
+++ b/ivy.el
@@ -306,9 +306,7 @@ candidate."
                    (= ivy--length 1))
           (ivy--cd (expand-file-name ivy-text))))
     (or (ivy-partial)
-        (if (eq this-command last-command)
-            (ivy-done)
-          (ivy-alt-done)))))
+        (ivy-alt-done))))
 
 (defun ivy-partial ()
   "Complete the minibuffer text as much as possible."