Function: gnus-group-set-timestamp

gnus-group-set-timestamp is a byte-compiled function defined in gnus-group.el.gz.

Signature

(gnus-group-set-timestamp)

Documentation

Change the timestamp of the current group to the current time.

This function can be used in hooks like gnus-select-group-hook or gnus-group-catchup-group-hook.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
;;;
;;; Group timestamps
;;;

(defun gnus-group-set-timestamp ()
  "Change the timestamp of the current group to the current time.
This function can be used in hooks like `gnus-select-group-hook'
or `gnus-group-catchup-group-hook'."
  (when gnus-newsgroup-name
    (let ((time (time-convert nil 'integer)))
      (gnus-group-set-parameter gnus-newsgroup-name 'timestamp time))))