# HG changeset patch # User Katsumi Yamaoka # Date 1283614137 0 # Node ID b801b7109176ec14ad1822e27d82243641d91932 # Parent 0d6f1624cdf75f70c2a3fb96ea7cd069f54787d4 (gnus-html-show-images): If there are no images to show, then say so instead of bugging out. diff -r 0d6f1624cdf7 -r b801b7109176 lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Sat Sep 04 15:24:35 2010 +0000 +++ b/lisp/gnus/ChangeLog Sat Sep 04 15:28:57 2010 +0000 @@ -1,5 +1,8 @@ 2010-09-04 Lars Magne Ingebrigtsen + * 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. diff -r 0d6f1624cdf7 -r b801b7109176 lisp/gnus/gnus-html.el --- a/lisp/gnus/gnus-html.el Sat Sep 04 15:24:35 2010 +0000 +++ b/lisp/gnus/gnus-html.el Sat Sep 04 15:28:57 2010 +0000 @@ -372,7 +372,9 @@ (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)