]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-mua.el
emacs: Forwarded messages should not have modified buffers
[notmuch] / emacs / notmuch-mua.el
index 95e4a4d33ae2933e9503b818a6a6269fc6d33311..2c5888600b6c6d2af795b39302d061935cf7aa0b 100644 (file)
@@ -346,7 +346,8 @@ the From: address first."
     (message-forward-make-body cur)
     ;; `message-forward-make-body' shows the User-agent header.  Hide
     ;; it again.
-    (message-hide-headers)))
+    (message-hide-headers)
+    (set-buffer-modified-p nil)))
 
 (defun notmuch-mua-new-reply (query-string &optional prompt-for-sender reply-all)
   "Compose a reply to the message identified by QUERY-STRING.