branch: master
commit dd80749441e3e0a3e4267089bbe577b148349b48
Author: OrionU <[email protected]>
Commit: Oleh Krehel <[email protected]>

    Add case fold search to avy-goto-char-timer
    
    Fixes #128
---
 avy.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/avy.el b/avy.el
index 26a3cbc..a6e4c0b 100644
--- a/avy.el
+++ b/avy.el
@@ -1235,7 +1235,9 @@ This function obeys `avy-all-windows' setting."
                 (setq str (concat str (list char)))))
              ;; Highlight
              (when (>= (length str) 1)
-               (let (found)
+               (let ((case-fold-search
+                      (or avy-case-fold-search (string= str (downcase str))))
+                     found)
                  (avy-dowindows current-prefix-arg
                    (dolist (pair (avy--find-visible-regions
                                   (window-start)

Reply via email to