Function: gnus-cache-possibly-alter-active
gnus-cache-possibly-alter-active is an autoloaded and byte-compiled
function defined in gnus-cache.el.gz.
Signature
(gnus-cache-possibly-alter-active GROUP ACTIVE)
Documentation
Alter the ACTIVE info for GROUP to reflect the articles in the cache.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-cache.el.gz
(defun gnus-cache-possibly-alter-active (group active)
"Alter the ACTIVE info for GROUP to reflect the articles in the cache."
(when gnus-cache-active-hashtb
(let ((cache-active (gethash group gnus-cache-active-hashtb)))
(when cache-active
(when (< (car cache-active) (car active))
(setcar active (car cache-active)))
(when (> (cdr cache-active) (cdr active))
(setcdr active (cdr cache-active)))))))