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

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

[elpa] master b91870e 094/167: Fix /ssh: and /sudo:: broken in 71695df


From: Oleh Krehel
Subject: [elpa] master b91870e 094/167: Fix /ssh: and /sudo:: broken in 71695df
Date: Tue, 08 Dec 2015 10:50:13 +0000

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

    Fix /ssh: and /sudo:: broken in 71695df
    
    * ivy.el (ivy-alt-done): `file-directory-p' errors when given "/ssh:" or
      "/sudo::".
    
    Re #283
---
 ivy.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index 73d2f8a..2457f3d 100644
--- a/ivy.el
+++ b/ivy.el
@@ -387,7 +387,8 @@ When ARG is t, exit with current text, ignoring the 
candidates."
                 (or
                  (and
                   (not (equal ivy-text ""))
-                  (file-directory-p ivy-text)
+                  (ignore-errors
+                    (file-directory-p ivy-text))
                   (setq dir (expand-file-name
                              ivy-text ivy--directory)))
                  (and



reply via email to

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