This commit was manufactured by cvs2svn to create tag 'gnus-6_7_7-ichikawa'.
[elisp/gnus.git-] / lisp / nngateway.el
index 2139885..909e4f8 100644 (file)
@@ -62,8 +62,7 @@ parameter -- the gateway address.")
        (insert mail-header-separator "\n")
        (widen)
        (let (message-required-mail-headers)
-         (funcall message-send-mail-function))
-       t))))
+         (funcall message-send-mail-function))))))
 
 ;;; Internal functions
 
@@ -76,13 +75,6 @@ parameter -- the gateway address.")
     (insert "To: " (nnheader-replace-chars-in-string newsgroups ?. ?-)
            "@" gateway "\n")))
 
-(defun nngateway-mail2news-header-transformation (gateway)
-  "Transform the headers for sending to a mail2news gateway."
-  (message-remove-header "to")
-  (message-remove-header "cc")
-  (goto-char (point-min))
-  (insert "To: " gateway "\n"))
-
 (nnoo-define-skeleton nngateway)
 
 (provide 'nngateway)