(gnus-agent-covered-methods): Remove nil methods.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 30 Nov 2003 15:19:35 +0000 (15:19 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 30 Nov 2003 15:19:35 +0000 (15:19 +0000)
lisp/ChangeLog
lisp/gnus-agent.el

index 9cb78a9..7d8f233 100644 (file)
@@ -1,3 +1,7 @@
+2003-11-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-agent.el (gnus-agent-covered-methods): Remove nil methods. 
+
 2003-11-29  Kevin Greiner <kgreiner@xpediantsolutions.com>
        * gnus-start.el (gnus-activate-group): The active range of the
        group must include the articles known to the agent.
index a93eae4..240e840 100644 (file)
@@ -1210,7 +1210,7 @@ This can be added to `gnus-select-article-hook' or
 
 (defun gnus-agent-covered-methods ()
   "Return the subset of methods that are covered by the agent."
-  (mapcar #'gnus-server-to-method gnus-agent-covered-methods))
+  (delq nil (mapcar #'gnus-server-to-method gnus-agent-covered-methods)))
 
 ;;; History functions