[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101330: (gnus-html-show-images): If
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101330: (gnus-html-show-images): If there are no images to show, then say so instead of bugging out. |
Date: |
Sat, 04 Sep 2010 15:28:57 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101330
author: Lars Magne Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Sat 2010-09-04 15:28:57 +0000
message:
(gnus-html-show-images): If there are no images to show, then say so instead
of bugging out.
modified:
lisp/gnus/ChangeLog
lisp/gnus/gnus-html.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2010-09-04 15:24:35 +0000
+++ b/lisp/gnus/ChangeLog 2010-09-04 15:28:57 +0000
@@ -1,5 +1,8 @@
2010-09-04 Lars Magne Ingebrigtsen <address@hidden>
+ * 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.
=== modified file 'lisp/gnus/gnus-html.el'
--- a/lisp/gnus/gnus-html.el 2010-09-04 15:24:35 +0000
+++ b/lisp/gnus/gnus-html.el 2010-09-04 15:28:57 +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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101330: (gnus-html-show-images): If there are no images to show, then say so instead of bugging out.,
Katsumi Yamaoka <=