From: Richard M. Stallman Date: Wed, 16 Nov 2005 22:22:18 +0000 (+0000) Subject: (smtpmail-send-it): Use insert-buffer-contents. X-Git-Tag: emacs-pretest-22.0.90~5830 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=63fcfa450f224300fc829c8acef36932c3d1b1e1;p=emacs.git (smtpmail-send-it): Use insert-buffer-contents. --- diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index 55a4d060fad..1a280ffc7f4 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 tembuf) + (insert-buffer-contents tembuf) (write-file file-data) (set-buffer buffer-elisp) (erase-buffer)