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

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

[elpa] master 46695ac 63/90: Fix non-file completions ability to enter t


From: Oleh Krehel
Subject: [elpa] master 46695ac 63/90: Fix non-file completions ability to enter tramp completion
Date: Tue, 30 Jun 2015 07:28:55 +0000

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

    Fix non-file completions ability to enter tramp completion
    
    * ivy.el (ivy-alt-done): Update.
    
    Re #145
---
 ivy.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index 08b6528..bf399c1 100644
--- a/ivy.el
+++ b/ivy.el
@@ -295,7 +295,7 @@ When ARG is t, exit with current text, ignoring the 
candidates."
                                        (expand-file-name x ivy--directory)
                                        "Top"))))
                (ivy-done)))
-            ((string-match "\\`/\\([^/]+?\\):\\(?:\\(.*\\)@\\)?" ivy-text)
+            ((and ivy--directory (string-match 
"\\`/\\([^/]+?\\):\\(?:\\(.*\\)@\\)?" ivy-text))
              (let ((method (match-string 1 ivy-text))
                    (user (match-string 2 ivy-text))
                    res)



reply via email to

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