* message.el (message-setup-1): Setup alternative email before
[gnus] / lisp / gnus-ml.el
index de95dbf..978b2e3 100644 (file)
@@ -1,6 +1,6 @@
 ;;; gnus-ml.el --- Mailing list minor mode for Gnus
 
-;; Copyright (C) 2000 Free Software Foundation, Inc.
+;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
 
 ;; Author: Julien Gilles  <jgilles@free.fr>
 ;; Keywords: news
@@ -67,7 +67,7 @@
 
 ;;;###autoload
 (defun turn-on-gnus-mailing-list-mode ()
-  (when (gnus-group-get-parameter gnus-newsgroup-name 'to-list)
+  (when (gnus-group-find-parameter gnus-newsgroup-name 'to-list)
     (gnus-mailing-list-mode 1)))
 
 ;;;###autoload
@@ -177,7 +177,7 @@ If FORCE is non-nil, replace the old ones."
     (cond
      ((string-match "<mailto:\\([^>]*\\)>" address)
       (let ((args (match-string 1 address)))
-       (cond                                   ; with param
+       (cond                           ; with param
         ((string-match "\\(.*\\)\\?\\(.*\\)" args)
          (setq mailto (match-string 1 args))
          (let ((param (match-string 2 args)))
@@ -188,7 +188,7 @@ If FORCE is non-nil, replace the old ones."
            (if (string-match "to=\\([^&]*\\)" param)
                (push (match-string 1 param) to))
            ))
-        (t (setq mailto args)))))                      ; without param
+        (t (setq mailto args)))))      ; without param
 
      ; other case <http://... to be done.
      (t nil))