X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-mua.el;h=4be7c13d992733bdd4b97f66a431add63014063e;hp=023645e33edf1211e9f34a6fd883bb8d23caa6c6;hb=d50171d1cc575a41bf620c55853ade65d0edfad8;hpb=643ce61c1babf6e73ca7e03fb907282e7ee3b176 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 023645e3..4be7c13d 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -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)