diff options
author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2022-05-06 09:37:07 -0700 |
---|---|---|
committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2022-05-06 09:43:59 -0700 |
commit | 6d4cc2358b009462ab0e196946a1a89474c30264 (patch) | |
tree | 8ededf66a79c777c118d350006769471bbdcb7cc /lisp/gnus/nnvirtual.el | |
parent | 2d2c448efe9ef02e60a24e10918bbc18213da242 (diff) | |
download | emacs-6d4cc2358b009462ab0e196946a1a89474c30264.tar.gz emacs-6d4cc2358b009462ab0e196946a1a89474c30264.tar.bz2 emacs-6d4cc2358b009462ab0e196946a1a89474c30264.zip |
Don't force Gnus cache usage in nnvirtual
* lisp/gnus/nnvirtual.el (nnvirtual-retrieve-headers): We're not sure
why this was happening, but it shouldn't be necessary. Simply calling
`gnus-retrieve-headers' directly will use the cache if the user has
configured it.
Diffstat (limited to 'lisp/gnus/nnvirtual.el')
-rw-r--r-- | lisp/gnus/nnvirtual.el | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lisp/gnus/nnvirtual.el b/lisp/gnus/nnvirtual.el index cc87a707ce6..ae4265de7fb 100644 --- a/lisp/gnus/nnvirtual.el +++ b/lisp/gnus/nnvirtual.el @@ -114,14 +114,9 @@ It is computed from the marks of individual component groups.") (gnus-check-server (gnus-find-method-for-group cgroup) t) (gnus-request-group cgroup t) - (setq prefix (gnus-group-real-prefix cgroup)) - ;; FIX FIX FIX we want to check the cache! - ;; This is probably evil if people have set - ;; gnus-use-cache to nil themselves, but I - ;; have no way of finding the true value of it. - (let ((gnus-use-cache t)) - (setq result (gnus-retrieve-headers - articles cgroup nil)))) + (setq prefix (gnus-group-real-prefix cgroup) + result (gnus-retrieve-headers + articles cgroup nil))) (set-buffer nntp-server-buffer) ;; If we got HEAD headers, we convert them into NOV ;; headers. This is slow, inefficient and, come to think |