branch: elpa/anzu
commit 6fda98326a36e18421c9e0a5db5422ad8fa1d706
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>

    input is regexp if isearch-regexp is non-nil
---
 anzu.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/anzu.el b/anzu.el
index 8cbdee958e..2cbf8272ba 100644
--- a/anzu.el
+++ b/anzu.el
@@ -88,7 +88,8 @@
 (defun anzu--search-all-position (str)
   (unless anzu--last-command
     (setq anzu--last-command last-command))
-  (unless (memq anzu--last-command anzu-regexp-search-commands)
+  (when (and (not (memq anzu--last-command anzu-regexp-search-commands))
+             (not isearch-regexp))
     (setq str (regexp-quote str)))
   (when (anzu--validate-regexp str)
     (save-excursion

Reply via email to