Function: gnus-cache-fully-p

gnus-cache-fully-p is a byte-compiled function defined in gnus-cache.el.gz.

Signature

(gnus-cache-fully-p &optional GROUP)

Documentation

Return non-nil if the cache should be fully used.

If GROUP is non-nil, also cater to gnus-cacheable-groups and gnus-uncacheable-groups.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-cache.el.gz
(defun gnus-cache-fully-p (&optional group)
  "Return non-nil if the cache should be fully used.
If GROUP is non-nil, also cater to `gnus-cacheable-groups' and
`gnus-uncacheable-groups'."
  (and gnus-use-cache
       (not (eq gnus-use-cache 'passive))
       (if (null group)
	   t
	 (and (or (not gnus-cacheable-groups)
		  (string-match gnus-cacheable-groups group))
	      (or (not gnus-uncacheable-groups)
		  (not (string-match gnus-uncacheable-groups group)))))))