]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-mua.el
Actually close the xapian database in notmuch_database_close
[notmuch] / emacs / notmuch-mua.el
index 023645e33edf1211e9f34a6fd883bb8d23caa6c6..4be7c13d992733bdd4b97f66a431add63014063e 100644 (file)
@@ -116,7 +116,12 @@ list."
     (push-mark))
   (set-buffer-modified-p nil)
 
-  (message-goto-body))
+  (message-goto-body)
+  ;; Original message may contain (malicious) MML tags.  We must
+  ;; properly quote them in the reply.  Note that using `point-max'
+  ;; instead of `mark' here is wrong.  The buffer may include user's
+  ;; signature which should not be MML-quoted.
+  (mml-quote-region (point) (mark)))
 
 (defun notmuch-mua-forward-message ()
   (message-forward)