diff options
| author | Lars Magne Ingebrigtsen | 2010-09-07 00:05:59 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-07 00:05:59 +0000 |
| commit | 8d40858522a02df140b790b066b8d16b2df11e24 (patch) | |
| tree | 47c02542e87df29eb443296f3d9236cf2b7ec273 | |
| parent | d832b437121824695a25b2b8e01e143545100508 (diff) | |
| download | emacs-8d40858522a02df140b790b066b8d16b2df11e24.tar.gz emacs-8d40858522a02df140b790b066b8d16b2df11e24.zip | |
gnus-async.el (gnus-async-article-callback): Always prefetch images for groups that want that.
| -rw-r--r-- | lisp/gnus/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-async.el | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index f2e48fc5782..85150a1adbf 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-09-06 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2010-09-06 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * gnus-async.el (gnus-async-article-callback): Always prefetch images | ||
| 4 | for groups that want that. | ||
| 5 | |||
| 3 | * nntp.el (nntp-wait-for-string): Supply a timeout for | 6 | * nntp.el (nntp-wait-for-string): Supply a timeout for |
| 4 | accept-process-output to ensure progress. | 7 | accept-process-output to ensure progress. |
| 5 | 8 | ||
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." | |||
| 238 | (save-excursion | 238 | (save-excursion |
| 239 | (save-restriction | 239 | (save-restriction |
| 240 | (narrow-to-region mark (point-max)) | 240 | (narrow-to-region mark (point-max)) |
| 241 | ;; Prefetch images for the groups that want that. | ||
| 242 | (when (fboundp 'gnus-html-prefetch-images) | ||
| 243 | (gnus-async-post-fetch-function summary)) | ||
| 241 | (funcall gnus-async-post-fetch-function summary)))) | 244 | (funcall gnus-async-post-fetch-function summary)))) |
| 242 | (gnus-async-with-semaphore | 245 | (gnus-async-with-semaphore |
| 243 | (setq | 246 | (setq |