From 808bb8011a694682f2900b32c133b231f2720edc Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Tue, 5 Jan 2016 11:45:04 +0100 Subject: [PATCH] avy.el (avy--regex-candidates): Modify case-fold-search condition Fixes #126 --- avy.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avy.el b/avy.el index 3cffb73..26a3cbc 100644 --- a/avy.el +++ b/avy.el @@ -595,7 +595,7 @@ When PRED is non-nil, it's a filter for matching point positions. When GROUP is non-nil, (BEG . END) should delimit that regex group." (setq group (or group 0)) (let ((case-fold-search (or avy-case-fold-search - (not (string= regex (upcase regex))))) + (string= regex (downcase regex)))) candidates) (avy-dowindows current-prefix-arg (dolist (pair (avy--find-visible-regions