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

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

[elpa] externals/ivy-hydra 96b433d 369/395: Handle Windows directory sep


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 96b433d 369/395: Handle Windows directory separator in ivy-occur
Date: Thu, 25 Feb 2021 08:32:40 -0500 (EST)

branch: externals/ivy-hydra
commit 96b433d445917f14c14f45eef37817781ad7b256
Author: Kien Nguyen <kien.n.quang@gmail.com>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Handle Windows directory separator in ivy-occur
    
    * ivy.el (ivy-occur-press): Add regexp for Windows directory
    separator.
    
    Closes #2764.
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 0167b41..72e6d8e 100644
--- a/ivy.el
+++ b/ivy.el
@@ -5115,7 +5115,7 @@ EVENT gives the mouse position."
   (ivy--occur-press-update-window)
   (when (save-excursion
           (beginning-of-line)
-          (looking-at "\\(?:./\\|    \\)\\(.*\\)$"))
+          (looking-at "\\(?:.[/\\]\\|    \\)\\(.*\\)$"))
     (let* ((ivy-last ivy-occur-last)
            (ivy-text (ivy-state-text ivy-last))
            (str (buffer-substring



reply via email to

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