diff options
author | Katsumi Yamaoka <yamaoka@jpl.org> | 2010-04-22 23:41:53 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2010-04-22 23:41:53 +0000 |
commit | 4f47df583036ec0fabc0b47927e8f6a48543da90 (patch) | |
tree | cda9409af64f274bad753d5fd469544008ecddbd | |
parent | 7f0dc4b3f450096876b9821bf98bb94f9165643f (diff) | |
download | emacs-4f47df583036ec0fabc0b47927e8f6a48543da90.tar.gz |
Synch with Gnus trunk:
;; I've committed this change to only the trunk by mistake, sorry,
;; but it should have been also in the branch.)
(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>.
-rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/gnus/message.el | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 88df88daf64..45308157044 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,9 @@ +2010-04-22 Andreas Seltenreich <seltenreich@gmx.de> + + * message.el (message-generate-headers): Record insertion of optional + headers as well. Otherwise the check to prevent repeated insertion of + optional headers is a no-op. + 2010-04-17 Teodor Zlatanov <tzz@lifelogs.com> * smime.el: Don't mention CVS. diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 27266f8aec1..2fe8a4d32ef 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -5880,6 +5880,7 @@ Headers already prepared in the buffer are not modified." (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. |