branch: elpa/anzu
commit 5ac649fc778c2b3151f9cfaca2281051d8ed59be
Author: Shohei YOSHIDA <[email protected]>
Commit: Neil Okamoto <[email protected]>
Fix wrong count issue with case-sensitive search
---
anzu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anzu.el b/anzu.el
index 2c43e268e8..139e51340e 100644
--- a/anzu.el
+++ b/anzu.el
@@ -165,7 +165,7 @@
(list :count count :overflow overflow :positions positions))
(defsubst anzu--case-fold-search (input)
- (when case-fold-search
+ (when isearch-case-fold-search
(let ((case-fold-search nil))
(not (string-match-p "[A-Z]" input)))))