[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/anzu a8f75879a8 063/288: Don't evaluate not regexp replace
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/anzu a8f75879a8 063/288: Don't evaluate not regexp replacement |
Date: |
Thu, 6 Jan 2022 03:58:40 -0500 (EST) |
branch: elpa/anzu
commit a8f75879a84cba8cc6c6cf342e9ba757f331c57d
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Don't evaluate not regexp replacement
---
anzu.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/anzu.el b/anzu.el
index 8d87749e7a..1826bd5b31 100644
--- a/anzu.el
+++ b/anzu.el
@@ -379,7 +379,9 @@
(replace (anzu--calculate-replace-text content use-regexp)))
(dolist (ov (overlays-in beg overlay-end))
(when (overlay-get ov 'anzu-replace)
- (let ((replace-evaled (anzu--evaluate-occurrence ov replace)))
+ (let ((replace-evaled (if use-regexp
+ (anzu--evaluate-occurrence ov replace)
+ replace)))
(overlay-put ov 'after-string
(propertize replace-evaled 'face
'anzu-replace-to))))))))))
- [nongnu] elpa/anzu 532db96e34 026/288: Add doc-string, (continued)
- [nongnu] elpa/anzu 532db96e34 026/288: Add doc-string, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 349e772b84 019/288: Fix #5 issue, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 4cc1b6c9e0 030/288: Merge pull request #7 from bbatsov/doc-improvement, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 16fc5810b3 029/288: Merge pull request #6 from bbatsov/fix-comp-warning, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 30d34084eb 039/288: bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu fd99f06af9 042/288: add screenshot for threshold, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 168d8c7f73 043/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ff4393fac5 050/288: Add feature that highlight replaced texts, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e2e8d12905 058/288: Update face documentation, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu ebfbfe7e01 060/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a8f75879a8 063/288: Don't evaluate not regexp replacement,
ELPA Syncer <=
- [nongnu] elpa/anzu f503b785ef 065/288: Update about anzu-query-replace-at-cursor, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 71fb782b38 064/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 3dbd22ff44 086/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu 5c59c252d5 099/288: Fix ignore case problem, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu bac9660b47 102/288: Add non query replace command, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a81c99b146 105/288: Merge pull request #18 from syohex/switch-to-cl-lib, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e26f29af37 109/288: Bump up version and update Changes, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu a06fb937b5 110/288: Enable lexical-binding, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu e817db8532 115/288: Fix byte compile warning for Emacs 24.3, ELPA Syncer, 2022/01/06
- [nongnu] elpa/anzu f3c83f3109 116/288: Merge pull request #21 from syohex/fix-byte-compile-warning, ELPA Syncer, 2022/01/06