2003-05-01 David Z. Maze <dmaze@mit.edu>
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 1 May 2003 07:17:23 +0000 (07:17 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 1 May 2003 07:17:23 +0000 (07:17 +0000)
* nnrss.el (nnrss-find-rss-via-syndic8): Have an `error' branch
in condition-case.

lisp/ChangeLog
lisp/nnrss.el

index 8cae98e..b677f04 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-01  David Z. Maze  <dmaze@mit.edu>
+
+       * nnrss.el (nnrss-find-rss-via-syndic8): Have an `error' branch
+       in condition-case.
+
 2003-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * message.el (message-required-headers): Remove In-Reply-To.
index 9d8c90c..ced221f 100644 (file)
@@ -413,9 +413,11 @@ ARTICLE is the article number of the current headline.")
                    (second (assoc group nnrss-group-alist))))
       (unless url
        (setq url
-             (nnrss-discover-feed
-              (read-string
-               (format "URL to search for %s: " group) "http://")))
+             (cdr
+              (assoc 'href
+                     (nnrss-discover-feed
+                      (read-string
+                       (format "URL to search for %s: " group) "http://")))))
        (let ((pair (assoc group nnrss-server-data)))
          (if pair
              (setcdr (cdr pair) (list url))
@@ -707,7 +709,7 @@ whether they are `offsite' or `onsite'."
                                  "Multiple feeds found.  Select one: "
                                  selection nil t) urllist)))
                       (cdar urllist))))))
-    (message "XML-RPC is not available... not checking Syndic8.")))
+    (error (message "XML-RPC is not available... not checking Syndic8."))))
 
 (defun nnrss-rss-p (data)
   "Test if data is an RSS feed.  Simply ensures that the first