[Top][All Lists]

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

[elpa] master 57e0b94 146/184: swiper.el (swiper--action): Set case-fold

From: Oleh Krehel
Subject: [elpa] master 57e0b94 146/184: swiper.el (swiper--action): Set case-fold-search
Date: Wed, 16 Oct 2019 13:15:11 -0400 (EDT)

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

    swiper.el (swiper--action): Set case-fold-search
    Re #2226
 swiper.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/swiper.el b/swiper.el
index 289a0f7..7bdcb62 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1058,7 +1058,8 @@ WND, when specified is the window."
 (defun swiper--action (x)
   "Goto line X."
   (let ((ln (1- (get-text-property 0 'swiper-line-number x)))
-        (re (ivy--regex ivy-text)))
+        (re (ivy--regex ivy-text))
+        (case-fold-search (ivy--case-fold-p ivy-text)))
     (if (null x)
         (user-error "No candidates")

reply via email to

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