# HG changeset patch # User Katsumi Yamaoka # Date 1283822419 0 # Node ID 8a1ec589955282f88ad5a2c565982a398ce629f7 # Parent 866fdd23abb539d2471cb37546e9b3b1e4a3817f gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling; (gnus-async-article-callback): Fix typo. diff -r 866fdd23abb5 -r 8a1ec5899552 lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Tue Sep 07 00:12:08 2010 +0000 +++ b/lisp/gnus/ChangeLog Tue Sep 07 01:20:19 2010 +0000 @@ -1,3 +1,8 @@ +2010-09-07 Katsumi Yamaoka + + * gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling. + (gnus-async-article-callback): Fix typo. + 2010-09-06 Lars Magne Ingebrigtsen * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the diff -r 866fdd23abb5 -r 8a1ec5899552 lisp/gnus/gnus-async.el --- a/lisp/gnus/gnus-async.el Tue Sep 07 00:12:08 2010 +0000 +++ b/lisp/gnus/gnus-async.el Tue Sep 07 01:20:19 2010 +0000 @@ -228,6 +228,9 @@ `(lambda (arg) (gnus-async-article-callback arg ,group ,article ,mark ,summary ,next))) +(eval-when-compile + (autoload 'gnus-html-prefetch-images "gnus-html")) + (defun gnus-async-article-callback (arg group article mark summary next) "Function called when an async article is done being fetched." (save-excursion @@ -240,7 +243,7 @@ (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)) + (gnus-html-prefetch-images summary)) (funcall gnus-async-post-fetch-function summary)))) (gnus-async-with-semaphore (setq