diff lisp/gnus/message.el @ 108062:abf744801e5f

(message-generate-headers): Record insertion of optional headers as well. Otherwise the check to prevent repeated insertion of optional headers is a no-op. By Andreas Seltenreich <seltenreich@gmx.de>.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 22 Apr 2010 08:24:25 +0000
parents 6db4a0b4404d
children c8dacd2579e6
line wrap: on
line diff
--- a/lisp/gnus/message.el	Thu Apr 22 07:56:01 2010 +0000
+++ b/lisp/gnus/message.el	Thu Apr 22 08:24:25 2010 +0000
@@ -5905,6 +5905,7 @@
 		      (if formatter
 			  (funcall formatter header value)
 			(insert header-string ": " value))
+		      (push header-string message-inserted-headers)
 		      (goto-char (message-fill-field))
 		      ;; We check whether the value was ended by a
 		      ;; newline.  If not, we insert one.