Skip to content

Commit

Permalink
update anzu--use-result-cache-p as in PR #93
Browse files Browse the repository at this point in the history
Overlooked this change in the sequence of merge/revert/re-apply
  • Loading branch information
gonewest818 committed Mar 31, 2020
1 parent 61cb32a commit 3e34fb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anzu.el
Expand Up @@ -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)
Expand Down

0 comments on commit 3e34fb3

Please sign in to comment.