[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu 380f5fd232 198/288: Merge pull request #53 from kosh0
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu 380f5fd232 198/288: Merge pull request #53 from kosh04/fix-literal-match |
Date: |
Thu, 6 Jan 2022 03:58:52 -0500 (EST) |
branch: elpa/anzu
commit 380f5fd2329a333e5b4d3c91a78e7e41aba23284
Merge: 1eceed7498 3c178f75f3
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Merge pull request #53 from kosh04/fix-literal-match
Fix matching a literal string
---
anzu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anzu.el b/anzu.el
index 4a3cae247a..010d96332c 100644
--- a/anzu.el
+++ b/anzu.el
@@ -557,7 +557,7 @@
(defsubst anzu--replaced-literal-string (ov replaced from)
(let ((str (buffer-substring-no-properties
(overlay-start ov) (overlay-end ov))))
- (when (string-match str from)
+ (when (string-match (regexp-quote str) from)
(replace-match replaced (not case-fold-search) nil str))))
(defun anzu--append-replaced-string (content buf beg end use-regexp
overlay-limit from)
- [nongnu] elpa/anzu 264c36d135 076/288: Fix overlay is not put if match-string is 0 length, (continued)
- [nongnu] elpa/anzu 264c36d135 076/288: Fix overlay is not put if match-string is 0 length, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 8bde8ee114 088/288: Update comment, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 29a07403a6 091/288: Merge pull request #12 from syohex/support-backward-replace, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 368a4ebe8c 096/288: Fix no prefix number case, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a36458386d 107/288: Don't show default replacement in prompt, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ef489aadb2 118/288: Fix replacement issue(#22), ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 497864542b 120/288: Bumpup version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu cf07d6a0ec 125/288: Implement specified lines replacement, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 09cc87ad9b 228/288: Merge pull request #66 from syohex/replace-threshold, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu b3b912013d 225/288: Add custom variable of replacement threshold, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 380f5fd232 198/288: Merge pull request #53 from kosh04/fix-literal-match,
ELPA Syncer <=
- [nongnu] elpa/anzu 38d49e3664 276/288: Revert "Fix issue #93", ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 799f26ee0e 260/288: Merge pull request #86 from syohex/no-match-face, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 5bd8f5511d 273/288: Fix backward replace issue, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu abb129c5f8 148/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu c4a440af86 175/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 05eda5f709 191/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu dcd8eac2e5 165/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 57bad64f1e 185/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 7fb133e847 180/288: Fix zero width replacement such as '^'(#44), ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu c3c9a0b721 209/288: Set anzu--status per buffer, ELPA Syncer, 2022/01/06