summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-async.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2010-09-07 00:05:59 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2010-09-07 00:05:59 +0000
commit8d40858522a02df140b790b066b8d16b2df11e24 (patch)
tree47c02542e87df29eb443296f3d9236cf2b7ec273 /lisp/gnus/gnus-async.el
parentd832b437121824695a25b2b8e01e143545100508 (diff)
downloademacs-8d40858522a02df140b790b066b8d16b2df11e24.tar.gz
gnus-async.el (gnus-async-article-callback): Always prefetch images for groups that want that.
Diffstat (limited to 'lisp/gnus/gnus-async.el')
-rw-r--r--lisp/gnus/gnus-async.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-async.el b/lisp/gnus/gnus-async.el
index 1e9c1dff77f..434afb68467 100644
--- a/lisp/gnus/gnus-async.el
+++ b/lisp/gnus/gnus-async.el
@@ -238,6 +238,9 @@ that was fetched."
(save-excursion
(save-restriction
(narrow-to-region mark (point-max))
+ ;; Prefetch images for the groups that want that.
+ (when (fboundp 'gnus-html-prefetch-images)
+ (gnus-async-post-fetch-function summary))
(funcall gnus-async-post-fetch-function summary))))
(gnus-async-with-semaphore
(setq