]> git.eshelyaron.com Git - emacs.git/commitdiff
* message.el (message-send-mail): Use buffer-substring-no-properties.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 22 Nov 2000 14:27:40 +0000 (14:27 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 22 Nov 2000 14:27:40 +0000 (14:27 +0000)
lisp/gnus/ChangeLog
lisp/gnus/message.el

index 69b561c13abb53a092a2d9f7eeb01b2538d421b0..595c39a49f9ff25034bc9594f96c561993b258cb 100644 (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.
index f0c4d34e3a96df24fba808edc408a6c25cd8787e..d47636873c75dd028a5fa5fca9b45fc636d59845 100644 (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