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

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

[elpa] master 10af5a6 16/18: ivy.el (ivy-done): Still expand "./" though


From: Oleh Krehel
Subject: [elpa] master 10af5a6 16/18: ivy.el (ivy-done): Still expand "./" though
Date: Mon, 20 Apr 2015 12:39:09 +0000

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

    ivy.el (ivy-done): Still expand "./" though
---
 ivy.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index 92c9771..6717cf6 100644
--- a/ivy.el
+++ b/ivy.el
@@ -154,7 +154,9 @@ When non-nil, it should contain one %d.")
   (cond (ivy--directory
          (insert
           (cond ((string= ivy-text "")
-                 ivy--current)
+                 (if (equal ivy--current "./")
+                     ivy--directory
+                   ivy--current))
                 ((zerop ivy--length)
                  (expand-file-name ivy-text ivy--directory))
                 (t



reply via email to

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