summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-09-14 06:53:22 +0000
committerRichard M. Stallman <rms@gnu.org>1992-09-14 06:53:22 +0000
commit854c16c5e2f9de97b8ecceefa0a05d84085e0994 (patch)
tree40cf3c16804e0a8f5664a25959783a69b9c940e4 /lisp/mail
parent5d68c2c227eb79f3eca2323f86780f8b7b178c49 (diff)
downloademacs-854c16c5e2f9de97b8ecceefa0a05d84085e0994.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/rmail.el17
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 ***