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

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

[elpa] externals/ivy-hydra c84bc31 164/395: ivy.el (ivy--magic-file-slas


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra c84bc31 164/395: ivy.el (ivy--magic-file-slash): Use "///" instead of "//" on Windows
Date: Thu, 25 Feb 2021 08:31:54 -0500 (EST)

branch: externals/ivy-hydra
commit c84bc31e214919162f807d289226d4f171bad403
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ivy.el (ivy--magic-file-slash): Use "///" instead of "//" on Windows
    
    Fixes #773
---
 ivy.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ivy.el b/ivy.el
index bcfae36..2bae71e 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3219,6 +3219,7 @@ Possible choices are 
'ivy-magic-slash-non-match-cd-selected,
           (magic (not (string= ivy-text "/"))))
       (cond ((member ivy-text ivy--all-candidates)
              (ivy--cd canonical))
+            ((and (eq system-type 'windows-nt) (string= ivy-text "//")))
             ((string-match-p "//\\'" ivy-text)
              (ivy--cd
               (ivy--magic-file-doubleslash-directory)))



reply via email to

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