(gnus-html-schedule-image-fetching): Protect against invalid URLs.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 5 Oct 2010 21:21:34 +0000 (23:21 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 5 Oct 2010 21:21:34 +0000 (23:21 +0200)
lisp/ChangeLog
lisp/gnus-html.el

index bdb6076..7d119ef 100644 (file)
@@ -1,5 +1,8 @@
 2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-html.el (gnus-html-schedule-image-fetching): Protect against
+       invalid URLs.
+
        * shr.el (shr-tag-img): Shorten ALT texts and allow them to be
        line-broken.
        (shr-tag-img): Ignore image fetching errors.
index 873d4b4..a21c478 100644 (file)
@@ -365,7 +365,8 @@ Use ALT-TEXT for the image string."
                       (help-function-arglist 'url-retrieve)))
             4)
       (setq args (nconc args (list t))))
-    (apply #'url-retrieve args)))
+    (ignore-errors
+      (apply #'url-retrieve args))))
 
 (defun gnus-html-image-fetched (status buffer image)
   "Callback function called when image has been fetched."