2000-11-22 ShengHuo ZHU <zsh@cs.rochester.edu>
* message.el (message-send-mail): Use buffer-substring-no-properties.
+ (message-send-news): Ditto.
2000-11-21 Stefan Monnier <monnier@cs.yale.edu>
(buffer-disable-undo)
(erase-buffer)
;; Avoid copying text props.
- (insert (format
- "%s" (save-excursion
- (set-buffer messbuf)
- (buffer-string))))
+ (insert (with-current-buffer messbuf
+ (buffer-substring-no-properties
+ (point-min) (point-max))))
(message-encode-message-body)
;; Remove some headers.
(save-restriction