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

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

[nongnu] elpa/anzu e2cb45487d 213/288: Merge pull request #60 from kosh0


From: ELPA Syncer
Subject: [nongnu] elpa/anzu e2cb45487d 213/288: Merge pull request #60 from kosh04/fix-literal-replace
Date: Thu, 6 Jan 2022 03:58:53 -0500 (EST)

branch: elpa/anzu
commit e2cb45487d2c09ba88c9a907e9cfc6da02b19953
Merge: de3d805c9a 07b7802d9d
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>

    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))



reply via email to

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