branch: elpa/anzu
commit e2cb45487d2c09ba88c9a907e9cfc6da02b19953
Merge: de3d805c9a 07b7802d9d
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>
Merge pull request #60 from kosh04/fix-literal-replace
Fix literal replace
---
anzu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anzu.el b/anzu.el
index aa7dbae047..5f5e58c1eb 100644
--- a/anzu.el
+++ b/anzu.el
@@ -561,7 +561,7 @@
(let ((str (buffer-substring-no-properties
(overlay-start ov) (overlay-end ov))))
(when (string-match (regexp-quote str) from)
- (replace-match replaced (not case-fold-search) nil str))))
+ (replace-match replaced (not case-fold-search) t str))))
(defun anzu--append-replaced-string (content buf beg end use-regexp
overlay-limit from)
(let ((replacements 0))