summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorJesper Harder <harder@ifa.au.dk>2006-01-18 20:49:00 +0000
committerJesper Harder <harder@ifa.au.dk>2006-01-18 20:49:00 +0000
commitb0aea09e7baf4b137875fe87bb474239faf65f05 (patch)
tree74340ed6f681372810c00848beef9704b26366a5 /lisp/mail
parent7a9ac68891e68493f1aedf544f09342013d8289e (diff)
downloademacs-b0aea09e7baf4b137875fe87bb474239faf65f05.tar.gz
(smtpmail-send-it): Use insert-buffer-substring.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/smtpmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 4c7e99601b8..6cbd3e3b8f8 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -365,7 +365,7 @@ This is relative to `smtpmail-queue-dir'.")
(make-directory smtpmail-queue-dir t))
(with-current-buffer buffer-data
(erase-buffer)
- (insert-buffer-contents tembuf)
+ (insert-buffer-substring tembuf)
(write-file file-data)
(set-buffer buffer-elisp)
(erase-buffer)