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

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

[elpa] master c5fce64 05/57: Make "TAB" switch directories properly


From: Oleh Krehel
Subject: [elpa] master c5fce64 05/57: Make "TAB" switch directories properly
Date: Tue, 19 May 2015 14:21:19 +0000

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

    Make "TAB" switch directories properly
    
    * ivy.el (ivy-partial-or-done): Forward to `ivy-alt-done'.
    
    Fixes #75
---
 ivy.el |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/ivy.el b/ivy.el
index 15506e2..d2dc037 100644
--- a/ivy.el
+++ b/ivy.el
@@ -279,11 +279,7 @@ When called twice in a row, exit the minibuffer with the 
current
 candidate."
   (interactive)
   (if (eq this-command last-command)
-      (when (> (length ivy--current) 0)
-        (delete-minibuffer-contents)
-        (insert ivy--current)
-        (setq ivy-exit 'done)
-        (exit-minibuffer))
+      (ivy-alt-done)
     (let* ((parts (split-string ivy-text " " t))
            (postfix (car (last parts)))
            (completion-ignore-case t)



reply via email to

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