From dd80749441e3e0a3e4267089bbe577b148349b48 Mon Sep 17 00:00:00 2001 From: OrionU Date: Tue, 5 Jan 2016 18:15:23 -0600 Subject: [PATCH] Add case fold search to avy-goto-char-timer Fixes #128 --- avy.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)