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

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

[elpa] master f6dd9cd 066/167: ivy.el (ivy-alt-done): Fix up last commit


From: Oleh Krehel
Subject: [elpa] master f6dd9cd 066/167: ivy.el (ivy-alt-done): Fix up last commit
Date: Tue, 08 Dec 2015 10:49:56 +0000

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

    ivy.el (ivy-alt-done): Fix up last commit
---
 ivy.el |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ivy.el b/ivy.el
index 51721a5..24bc824 100644
--- a/ivy.el
+++ b/ivy.el
@@ -374,9 +374,11 @@ When ARG is t, exit with current text, ignoring the 
candidates."
            (ivy-immediate-done))
           ((and ivy--directory
                 (or
-                 (and (file-directory-p ivy-text)
-                      (setq dir (expand-file-name
-                                 ivy-text ivy--directory)))
+                 (and
+                  (not (equal ivy-text ""))
+                  (file-directory-p ivy-text)
+                  (setq dir (expand-file-name
+                             ivy-text ivy--directory)))
                  (and
                   (not (string= ivy--current "./"))
                   (cl-plusp ivy--length)



reply via email to

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