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

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

[elpa] master beb3aee 080/184: ivy.el (ivy--directory-done): Handle "/ C


From: Oleh Krehel
Subject: [elpa] master beb3aee 080/184: ivy.el (ivy--directory-done): Handle "/ C-j" on remote
Date: Wed, 16 Oct 2019 13:14:53 -0400 (EDT)

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

    ivy.el (ivy--directory-done): Handle "/ C-j" on remote
    
    Fixes #2205
---
 ivy.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ivy.el b/ivy.el
index e202db7..0b34847 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1014,6 +1014,8 @@ contains a single candidate.")
   "Handle exit from the minibuffer when completing file names."
   (let (dir)
     (cond
+      ((equal ivy-text "/")
+       (ivy--cd "/"))
       ((equal ivy-text "/sudo::")
        (setq dir (concat ivy-text (expand-file-name ivy--directory)))
        (ivy--cd dir)



reply via email to

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