From 08d893aa8f92f5ff709fba20c6796771bf0dbc46 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 16 Oct 2001 01:09:29 +0000 Subject: [PATCH] * message.el (message-send): Remove the text property `field' from the encoding buffer. --- ChangeLog | 5 +++++ lisp/message.el | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f30045a..b632542 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-10-16 Katsumi Yamaoka + + * lisp/message.el (message-send): Remove the text property `field' + from the encoding buffer. + 2001-10-11 Katsumi Yamaoka * lisp/gnus-start.el (gnus-re-read-newsrc-el-file): Use diff --git a/lisp/message.el b/lisp/message.el index f945794..4136f3b 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -2770,9 +2770,11 @@ It should typically alter the sending method in some way or other." (set-buffer message-encoding-buffer) (erase-buffer) ;; ;; Avoid copying text props. - ;; T-gnus change: copy all text props from the editing buffer - ;; into the encoding buffer. + ;; T-gnus change: copy all text props, except for `field', from + ;; the editing buffer into the encoding buffer. `field' is the + ;; special text property on Emacs 21, see NEWS for details. (insert-buffer message-edit-buffer) + (put-text-property (point-min) (point-max) 'field nil) (funcall message-encode-function) (while (and success (setq elem (pop alist))) -- 1.7.10.4