diff options
| author | Katsumi Yamaoka | 2010-09-07 01:20:19 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-07 01:20:19 +0000 |
| commit | 16ec6ca43473d99fbcb02c17bc37a3c02ed5891d (patch) | |
| tree | b7c96cbb84b089133000060ae2cc6c645d72d7b2 | |
| parent | f9e506776ab214e5644ac36b583095fdde8a88da (diff) | |
| download | emacs-16ec6ca43473d99fbcb02c17bc37a3c02ed5891d.tar.gz emacs-16ec6ca43473d99fbcb02c17bc37a3c02ed5891d.zip | |
gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling; (gnus-async-article-callback): Fix typo.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-async.el | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 509ad305d54..3f115f1e3c9 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-09-07 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling. | ||
| 4 | (gnus-async-article-callback): Fix typo. | ||
| 5 | |||
| 1 | 2010-09-06 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2010-09-06 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the | 8 | * gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the |
diff --git a/lisp/gnus/gnus-async.el b/lisp/gnus/gnus-async.el index 434afb68467..5b19adc2054 100644 --- a/lisp/gnus/gnus-async.el +++ b/lisp/gnus/gnus-async.el | |||
| @@ -228,6 +228,9 @@ that was fetched." | |||
| 228 | `(lambda (arg) | 228 | `(lambda (arg) |
| 229 | (gnus-async-article-callback arg ,group ,article ,mark ,summary ,next))) | 229 | (gnus-async-article-callback arg ,group ,article ,mark ,summary ,next))) |
| 230 | 230 | ||
| 231 | (eval-when-compile | ||
| 232 | (autoload 'gnus-html-prefetch-images "gnus-html")) | ||
| 233 | |||
| 231 | (defun gnus-async-article-callback (arg group article mark summary next) | 234 | (defun gnus-async-article-callback (arg group article mark summary next) |
| 232 | "Function called when an async article is done being fetched." | 235 | "Function called when an async article is done being fetched." |
| 233 | (save-excursion | 236 | (save-excursion |
| @@ -240,7 +243,7 @@ that was fetched." | |||
| 240 | (narrow-to-region mark (point-max)) | 243 | (narrow-to-region mark (point-max)) |
| 241 | ;; Prefetch images for the groups that want that. | 244 | ;; Prefetch images for the groups that want that. |
| 242 | (when (fboundp 'gnus-html-prefetch-images) | 245 | (when (fboundp 'gnus-html-prefetch-images) |
| 243 | (gnus-async-post-fetch-function summary)) | 246 | (gnus-html-prefetch-images summary)) |
| 244 | (funcall gnus-async-post-fetch-function summary)))) | 247 | (funcall gnus-async-post-fetch-function summary)))) |
| 245 | (gnus-async-with-semaphore | 248 | (gnus-async-with-semaphore |
| 246 | (setq | 249 | (setq |