emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r101378: gnus-async.el (gnus-html-pre


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101378: gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling; (gnus-async-article-callback): Fix typo.
Date: Tue, 07 Sep 2010 01:20:19 +0000
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101378
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Tue 2010-09-07 01:20:19 +0000
message:
  gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling; 
(gnus-async-article-callback): Fix typo.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/gnus-async.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2010-09-07 00:08:33 +0000
+++ b/lisp/gnus/ChangeLog       2010-09-07 01:20:19 +0000
@@ -1,3 +1,8 @@
+2010-09-07  Katsumi Yamaoka  <address@hidden>
+
+       * gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling.
+       (gnus-async-article-callback): Fix typo.
+
 2010-09-06  Lars Magne Ingebrigtsen  <address@hidden>
 
        * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the

=== modified file 'lisp/gnus/gnus-async.el'
--- a/lisp/gnus/gnus-async.el   2010-09-07 00:05:59 +0000
+++ b/lisp/gnus/gnus-async.el   2010-09-07 01:20:19 +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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]