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.
(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)