emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/anzu 6fda98326a 024/288: input is regexp if isearch-regexp


From: ELPA Syncer
Subject: [nongnu] elpa/anzu 6fda98326a 024/288: input is regexp if isearch-regexp is non-nil
Date: Thu, 6 Jan 2022 03:58:36 -0500 (EST)

branch: elpa/anzu
commit 6fda98326a36e18421c9e0a5db5422ad8fa1d706
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>

    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

[Prev in Thread] Current Thread [Next in Thread]