Add case fold search to avy-goto-char-timer

Fixes #128
This commit is contained in:
OrionU 2016-01-05 18:15:23 -06:00 committed by Oleh Krehel
parent 808bb8011a
commit dd80749441

4
avy.el
View File

@ -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)