Function: gnus-root-id

gnus-root-id is a byte-compiled function defined in gnus-sum.el.gz.

Signature

(gnus-root-id ID)

Documentation

Return the id of the root of the thread where ID appears.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-root-id (id)
  "Return the id of the root of the thread where ID appears."
  (let (last-id prev)
    (while (and id (setq prev (car (gnus-id-to-thread id))))
      (setq last-id id
	    id (gnus-parent-id (mail-header-references prev))))
    last-id))