changeset 66668:857eb702a3f1

Use insert-buffer-substring, not insert-buffer.
author Richard M. Stallman <rms@gnu.org>
date Thu, 03 Nov 2005 21:34:54 +0000
parents 212206034148
children 550c8e306cb5
files lisp/mail/feedmail.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/feedmail.el	Thu Nov 03 21:34:12 2005 +0000
+++ b/lisp/mail/feedmail.el	Thu Nov 03 21:34:54 2005 +0000
@@ -1372,7 +1372,7 @@
 	      (if (string-match tracer (buffer-name buffy))
 		  (progn
 		    (insert "SMTP Trace from " (buffer-name buffy) "\n---------------")
-		    (insert-buffer buffy)
+		    (insert-buffer-substring buffy)
 		    (insert "\n\n"))))
 	   (buffer-list))))))
 
@@ -1989,7 +1989,7 @@
 	  (set-buffer feedmail-prepped-text-buffer) (erase-buffer)
 
 	  ;; jam contents of user-supplied mail buffer into our scratch buffer
-	  (insert-buffer feedmail-raw-text-buffer)
+	  (insert-buffer-substring feedmail-raw-text-buffer)
 
 	  ;; require one newline at the end.
 	  (goto-char (point-max))
@@ -2215,7 +2215,7 @@
 		(erase-buffer)
 		;; not life's most efficient methodology, but spraying isn't
 		;; an every-5-minutes event either
-		(insert-buffer feedmail-prepped-text-buffer)
+		(insert-buffer-substring feedmail-prepped-text-buffer)
 		;; There's a good case to me made that each separate transmission of
 		;; a message in the spray should have a distinct Message-Id:.  There
 		;; is also a less compelling argument in the other direction.  I think