summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/rmail.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 56d21765086..67e6633eb19 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -2306,10 +2306,8 @@ use \\[mail-yank-original] to yank the original message into it."
(if msgnum
(rmail-set-attribute "answered" t msgnum)))))))
nil
- (cons (cons "References" message-id)
- (mapcar (function (lambda (elt)
- (cons "References" elt)))
- references)))
+ (list (cons "References" (concat (mapconcat 'identity references " ")
+ " " message-id))))
;; We keep the rmail buffer and message number in these
;; buffer-local vars in the sendmail buffer,
;; so that rmail-only-expunge can relocate the message number.