Function: gnus-demon-scan-timestamps
gnus-demon-scan-timestamps is a byte-compiled function defined in
gnus-demon.el.gz.
Signature
(gnus-demon-scan-timestamps)
Documentation
Set the timestamp on all newsgroups with no unread and no ticked articles.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-demon.el.gz
(defun gnus-demon-scan-timestamps ()
"Set the timestamp on all newsgroups with no unread and no ticked articles."
(when (gnus-alive-p)
(let ((cur-time (current-time))
(newsrc (cdr gnus-newsrc-alist))
info group unread has-ticked)
(while (setq info (pop newsrc))
(setq group (gnus-info-group info)
unread (gnus-group-unread group)
has-ticked (cdr (assq 'tick (gnus-info-marks info))))
(when (and (numberp unread)
(= unread 0)
(not has-ticked))
(gnus-group-set-parameter group 'timestamp cur-time))))))