diff options
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/rmail.el | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 62f067ff057..17ae38a227d 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1604,13 +1604,16 @@ the body of the original message; otherwise copy the current message." (progn (search-forward "\n\n") (point)) (point-max))))) ;; Start sending a new message; default header fields from the original. - (if (mail-other-window nil to subj irp2 cc (current-buffer)) - ;; Insert original text as initial text of new draft message. - (progn - (goto-char (point-max)) - (insert orig-message) - (goto-char (point-min)) - (end-of-line))))) + ;; Turn off the usual actions for initializing the message body + ;; because we want to get only the text from the failure message. + (let (mail-signature mail-setup-hook) + (if (mail-other-window nil to subj irp2 cc (current-buffer)) + ;; Insert original text as initial text of new draft message. + (progn + (goto-char (point-max)) + (insert orig-message) + (goto-char (point-min)) + (end-of-line)))))) ;;;; *** Rmail Specify Inbox Files *** |