diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-10-16 07:21:05 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-10-16 07:21:05 +0200 |
commit | 41d220dc6085cb8cd96cfcf65248eb83015c1b90 (patch) | |
tree | ee71ce13d43191588e3abccff364b800861fc470 /lisp/gnus/gnus-async.el | |
parent | 7e3a95d8fd0ced4a75edea7b14b3038b1997d516 (diff) | |
download | emacs-41d220dc6085cb8cd96cfcf65248eb83015c1b90.tar.gz |
Add a new variable to control Gnus Agent caching
* doc/misc/gnus.texi (Agent Variables): Document it.
* lisp/gnus/gnus-art.el (gnus-request-article-this-buffer): Ditto.
* lisp/gnus/gnus-async.el (gnus-async-article-callback): Use it.
* lisp/gnus/gnus.el (gnus-agent-eagerly-store-articles): New variable.
Includes work from Madhu <enometh@meer.net>.
Diffstat (limited to 'lisp/gnus/gnus-async.el')
-rw-r--r-- | lisp/gnus/gnus-async.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-async.el b/lisp/gnus/gnus-async.el index e3e81c8bbce..9b08e6a0ef8 100644 --- a/lisp/gnus/gnus-async.el +++ b/lisp/gnus/gnus-async.el @@ -227,6 +227,7 @@ that was fetched." (narrow-to-region mark (point-max)) ;; Put the articles into the agent, if they aren't already. (when (and gnus-agent + gnus-agent-eagerly-store-articles (gnus-agent-group-covered-p group)) (save-restriction (narrow-to-region mark (point-max)) |