changeset 68250:3db62d37041f

(smtpmail-send-it): Use insert-buffer-substring.
author Jesper Harder <harder@ifa.au.dk>
date Wed, 18 Jan 2006 20:49:00 +0000
parents de87ce42a058
children 7f3c8ff6cec4
files lisp/ChangeLog lisp/mail/smtpmail.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jan 18 20:36:19 2006 +0000
+++ b/lisp/ChangeLog	Wed Jan 18 20:49:00 2006 +0000
@@ -1,3 +1,7 @@
+2006-01-18  Jesper Harder  <harder@phys.au.dk>
+
+	* mail/smtpmail.el (smtpmail-send-it): Use insert-buffer-substring.
+
 2006-01-18  Masatake YAMATO  <jet@gyve.org>
 
 	* progmodes/make-mode.el (makefile-imake-mode): New mode
--- a/lisp/mail/smtpmail.el	Wed Jan 18 20:36:19 2006 +0000
+++ b/lisp/mail/smtpmail.el	Wed Jan 18 20:49:00 2006 +0000
@@ -365,7 +365,7 @@
 		(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)