changeset 13056:c1ce3b4556f2

(mail-file-babyl-p): Function deleted. (sendmail-send-it): Load mail-utils first thing.
author Richard M. Stallman <rms@gnu.org>
date Thu, 21 Sep 1995 20:21:16 +0000
parents d94531fd96a4
children 5c78211aa9e0
files lisp/mail/sendmail.el
diffstat 1 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Thu Sep 21 20:20:49 1995 +0000
+++ b/lisp/mail/sendmail.el	Thu Sep 21 20:21:16 1995 +0000
@@ -450,6 +450,7 @@
 	      (delete-auto-save-file-if-necessary t))))))
 
 (defun sendmail-send-it ()
+  (require 'mail-utils)
   (let ((errbuf (if mail-interactive
 		    (generate-new-buffer " sendmail errors")
 		  0))
@@ -489,7 +490,6 @@
 	    (if (re-search-forward "^FCC:" delimline t)
 		(mail-do-fcc delimline))
 	    (goto-char (point-min))
-	    (require 'mail-utils)
 	    (while (re-search-forward "^Resent-to:" delimline t)
 	      (setq resend-to-addresses
 		    (save-restriction
@@ -610,16 +610,6 @@
       (if (bufferp errbuf)
 	  (kill-buffer errbuf)))))
 
-;; Return non-nil if file FILE is an Rmail file.
-(defun mail-file-babyl-p (file)
-  (unwind-protect
-      (save-excursion
-	(set-buffer (get-buffer-create " mail-temp"))
-	(erase-buffer)
-	(insert-file-contents file nil 0 20)
-	(looking-at "BABYL OPTIONS:"))
-  (kill-buffer " mail-temp")))
-
 (defun mail-do-fcc (header-end)
   (let (fcc-list
 	(rmailbuf (current-buffer))