aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-09-23 06:20:23 +0000
committerGlenn Morris2009-09-23 06:20:23 +0000
commit4f02f0c98945fb41b116a8fb2302f16b21444a1c (patch)
tree0c58d25a488d6bd433c37cdf5f01544a90033511
parente14f0a78d694fc00c8d1c53eb8877eb571f65e2e (diff)
downloademacs-4f02f0c98945fb41b116a8fb2302f16b21444a1c.tar.gz
emacs-4f02f0c98945fb41b116a8fb2302f16b21444a1c.zip
(rmail-reply): Don't try to add a References header when replying to
mail without References or Message-Id. (Bug#4525)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/rmail.el10
2 files changed, 11 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ca6b63f7c87..a6f543e957e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-09-23 Glenn Morris <rgm@gnu.org>
2
3 * mail/rmail.el (rmail-reply): Don't try to add a References header when
4 replying to mail without References or Message-Id. (Bug#4525)
5
12009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com> 62009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
2 7
3 * term/ns-win.el (ns-reg-to-script): New variable. 8 * term/ns-win.el (ns-reg-to-script): New variable.
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 078a4518adf..41f8fc05cb1 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -3537,10 +3537,12 @@ use \\[mail-yank-original] to yank the original message into it."
3537 (aref rmail-msgref-vector msgnum)) 3537 (aref rmail-msgref-vector msgnum))
3538 rmail-answered-attr-index)) 3538 rmail-answered-attr-index))
3539 nil 3539 nil
3540 (list (cons "References" (if references 3540 (if (or references message-id)
3541 (concat (mapconcat 'identity references " ") 3541 (list (cons "References" (if references
3542 " " message-id) 3542 (concat
3543 message-id)))))) 3543 (mapconcat 'identity references " ")
3544 " " message-id)
3545 message-id)))))))
3544 3546
3545(defun rmail-mark-message (buffer msgnum-list attribute) 3547(defun rmail-mark-message (buffer msgnum-list attribute)
3546 "Give BUFFER's message number in MSGNUM-LIST the attribute ATTRIBUTE. 3548 "Give BUFFER's message number in MSGNUM-LIST the attribute ATTRIBUTE.