aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-09-21 20:21:16 +0000
committerRichard M. Stallman1995-09-21 20:21:16 +0000
commit8e183d5bf28232279728b6687185134d2bf22580 (patch)
tree732c1016975c787253a1b2e1b54f5133edff0762
parent996792b15038e452652fdfa121d8cc5f552d833c (diff)
downloademacs-8e183d5bf28232279728b6687185134d2bf22580.tar.gz
emacs-8e183d5bf28232279728b6687185134d2bf22580.zip
(mail-file-babyl-p): Function deleted.
(sendmail-send-it): Load mail-utils first thing.
-rw-r--r--lisp/mail/sendmail.el12
1 files changed, 1 insertions, 11 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 0fa95023517..49374c4e897 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -450,6 +450,7 @@ the user from the mailer."
450 (delete-auto-save-file-if-necessary t)))))) 450 (delete-auto-save-file-if-necessary t))))))
451 451
452(defun sendmail-send-it () 452(defun sendmail-send-it ()
453 (require 'mail-utils)
453 (let ((errbuf (if mail-interactive 454 (let ((errbuf (if mail-interactive
454 (generate-new-buffer " sendmail errors") 455 (generate-new-buffer " sendmail errors")
455 0)) 456 0))
@@ -489,7 +490,6 @@ the user from the mailer."
489 (if (re-search-forward "^FCC:" delimline t) 490 (if (re-search-forward "^FCC:" delimline t)
490 (mail-do-fcc delimline)) 491 (mail-do-fcc delimline))
491 (goto-char (point-min)) 492 (goto-char (point-min))
492 (require 'mail-utils)
493 (while (re-search-forward "^Resent-to:" delimline t) 493 (while (re-search-forward "^Resent-to:" delimline t)
494 (setq resend-to-addresses 494 (setq resend-to-addresses
495 (save-restriction 495 (save-restriction
@@ -610,16 +610,6 @@ the user from the mailer."
610 (if (bufferp errbuf) 610 (if (bufferp errbuf)
611 (kill-buffer errbuf))))) 611 (kill-buffer errbuf)))))
612 612
613;; Return non-nil if file FILE is an Rmail file.
614(defun mail-file-babyl-p (file)
615 (unwind-protect
616 (save-excursion
617 (set-buffer (get-buffer-create " mail-temp"))
618 (erase-buffer)
619 (insert-file-contents file nil 0 20)
620 (looking-at "BABYL OPTIONS:"))
621 (kill-buffer " mail-temp")))
622
623(defun mail-do-fcc (header-end) 613(defun mail-do-fcc (header-end)
624 (let (fcc-list 614 (let (fcc-list
625 (rmailbuf (current-buffer)) 615 (rmailbuf (current-buffer))