# HG changeset patch # User Jesper Harder # Date 1137617340 0 # Node ID 3db62d37041f83a695b3e68c5f46837f520d1e09 # Parent de87ce42a0584f92680d8bf91e19d5a62861d833 (smtpmail-send-it): Use insert-buffer-substring. diff -r de87ce42a058 -r 3db62d37041f lisp/ChangeLog --- 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 + + * 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 -r de87ce42a058 -r 3db62d37041f lisp/mail/smtpmail.el --- 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)