branch: elpa/anzu
commit 3e34fb3df53c0c68e842fa179c327a7395d1901d
Author: Neil Okamoto <[email protected]>
Commit: Neil Okamoto <[email protected]>
update anzu--use-result-cache-p as in PR #93
Overlooked this change in the sequence of merge/revert/re-apply
---
anzu.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/anzu.el b/anzu.el
index 1a0663a0f3..8587fd4ad8 100644
--- a/anzu.el
+++ b/anzu.el
@@ -235,7 +235,8 @@
(defun anzu--use-result-cache-p (input)
(and (eq (anzu--isearch-regexp-function) (car anzu--last-search-state))
(eq isearch-regexp (cdr anzu--last-search-state))
- (string= input anzu--last-isearch-string)))
+ (string= input anzu--last-isearch-string)
+ (not (eq last-command 'isearch-toggle-case-fold))))
(defun anzu--update (query)
(when (>= (length query) anzu-minimum-input-length)