Commit f790bb74 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

(gnus-html-show-images): If there are no images to show, then say so instead of bugging out.

parent c25d60ab
2010-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-html.el (gnus-html-show-images): If there are no images to show,
then say so instead of bugging out.
* gnus-agent.el (gnus-agent-load-alist): Check whether the agentview
files exist before trying to read them.
......
......@@ -372,7 +372,9 @@ This only works if the article in question is HTML."
(while (setq overlay (pop overlays))
(when (overlay-get overlay 'gnus-image)
(push (overlay-get overlay 'gnus-image) images)))
(gnus-html-schedule-image-fetching (current-buffer) images))))
(if (not images)
(message "No images to show")
(gnus-html-schedule-image-fetching (current-buffer) images)))))
;;;###autoload
(defun gnus-html-prefetch-images (summary)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment