avy.el (avy--regex-candidates): Modify case-fold-search condition

Fixes #126
This commit is contained in:
Oleh Krehel 2016-01-05 11:45:04 +01:00
parent bae6fb15d0
commit 808bb8011a

2
avy.el
View File

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