Function: gnus-cache-request-article

gnus-cache-request-article is an autoloaded and byte-compiled function defined in gnus-cache.el.gz.

Signature

(gnus-cache-request-article ARTICLE GROUP)

Documentation

Retrieve ARTICLE in GROUP from the cache.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-cache.el.gz
(defun gnus-cache-request-article (article group)
  "Retrieve ARTICLE in GROUP from the cache."
  (let ((file (gnus-cache-file-name group article))
	(buffer-read-only nil)
	(file-name-coding-system nnmail-pathname-coding-system))
    (when (file-exists-p file)
      (erase-buffer)
      (gnus-kill-all-overlays)
      (let ((coding-system-for-read gnus-cache-coding-system))
	(insert-file-contents file))
      t)))