From 490dc8869bd9d926c816d4a3c2c511d92d474de4 Mon Sep 17 00:00:00 2001 From: Christoph Reichenbach Date: Sun, 12 Nov 2023 10:51:47 +0000 Subject: [PATCH] When re-tagging, force `replace-match' to preserve case Sets the second parameter to `replace-match' to t, thus forcing it to not attempt to auto-adjust the case of any tags. --- mu4e/mu4e-actions.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-actions.el b/mu4e/mu4e-actions.el index 08083816..543ebac8 100644 --- a/mu4e/mu4e-actions.el +++ b/mu4e/mu4e-actions.el @@ -169,7 +169,7 @@ Otherwise return nil." (save-excursion (goto-char (point-min)) (if (re-search-forward regexp nil t) - (replace-match to-string nil nil))))) + (replace-match to-string t nil))))) (declare-function mu4e--server-add "mu4e-server") (defun mu4e--refresh-message (path)