From: Jesper Harder Date: Wed, 18 Jan 2006 20:49:00 +0000 (+0000) Subject: (smtpmail-send-it): Use insert-buffer-substring. X-Git-Tag: emacs-pretest-22.0.90~4700 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b0aea09e7baf4b137875fe87bb474239faf65f05;p=emacs.git (smtpmail-send-it): Use insert-buffer-substring. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 374435db8f9..a12beda578c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2006-01-18 Jesper Harder + + * mail/smtpmail.el (smtpmail-send-it): Use insert-buffer-substring. + 2006-01-18 Masatake YAMATO * progmodes/make-mode.el (makefile-imake-mode): New mode 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)