Commit b0aea09e authored by Jesper Harder's avatar Jesper Harder
Browse files

(smtpmail-send-it): Use insert-buffer-substring.

parent 7a9ac688
2006-01-18 Jesper Harder <>
* mail/smtpmail.el (smtpmail-send-it): Use insert-buffer-substring.
2006-01-18 Masatake YAMATO <> 2006-01-18 Masatake YAMATO <>
* progmodes/make-mode.el (makefile-imake-mode): New mode * progmodes/make-mode.el (makefile-imake-mode): New mode
...@@ -365,7 +365,7 @@ This is relative to `smtpmail-queue-dir'.") ...@@ -365,7 +365,7 @@ This is relative to `smtpmail-queue-dir'.")
(make-directory smtpmail-queue-dir t)) (make-directory smtpmail-queue-dir t))
(with-current-buffer buffer-data (with-current-buffer buffer-data
(erase-buffer) (erase-buffer)
(insert-buffer-contents tembuf) (insert-buffer-substring tembuf)
(write-file file-data) (write-file file-data)
(set-buffer buffer-elisp) (set-buffer buffer-elisp)
(erase-buffer) (erase-buffer)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment