1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-16 21:20:53 -08:00

* message.el (message-send-mail): Use buffer-substring-no-properties.

This commit is contained in:
ShengHuo ZHU 2000-11-22 14:27:40 +00:00
parent b6f9106660
commit ce1ec550eb
2 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2000-11-22 ShengHuo ZHU <zsh@cs.rochester.edu>
* message.el (message-send-mail): Use buffer-substring-no-properties.
2000-11-21 Stefan Monnier <monnier@cs.yale.edu>
* gnus-win.el (gnus-configure-windows): switch-to-buffer -> set-buffer.

View file

@ -2318,10 +2318,8 @@ It should typically alter the sending method in some way or other."
(set-buffer tembuf)
(erase-buffer)
;; Avoid copying text props.
(insert (format
"%s" (save-excursion
(set-buffer mailbuf)
(buffer-string))))
(insert (with-current-buffer mailbuf
(buffer-substring-no-properties (point-min) (point-max))))
;; Remove some headers.
(message-encode-message-body)
(save-restriction