Commit 84e80376 authored by Eric Abrahamsen's avatar Eric Abrahamsen

Remove writing of headers into Gnus' cache files

* lisp/gnus/gnus-cache.el (gnus-cache-retrieve-headers): This function
should not be responsible for caching new headers, only returning
existing ones.
parent 823de6b5
......@@ -312,11 +312,7 @@ it's not cached."
(when uncached-articles
(setq headers (and articles
(gnus-fetch-headers uncached-articles)))))
(when (and headers gnus-cache-buffer)
(with-current-buffer (cdr gnus-cache-buffer)
(goto-char (point-min))
(mapc #'nnheader-insert-nov headers)
;; Then we include the cached headers.
(when (file-exists-p cache-file)
(setq headers
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment