Function: nnmail-cache-fetch-group

nnmail-cache-fetch-group is a byte-compiled function defined in nnmail.el.gz.

Signature

(nnmail-cache-fetch-group ID)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnmail.el.gz
;; Fetch the group name corresponding to the message id stored in the
;; cache.
(defun nnmail-cache-fetch-group (id)
  (when (and nnmail-treat-duplicates nnmail-cache-buffer)
    (with-current-buffer nnmail-cache-buffer
      (goto-char (point-max))
      (when (search-backward id nil t)
	(beginning-of-line)
	(skip-chars-forward "^\n\r\t")
	(unless (looking-at "[\r\n]")
	  (forward-char 1)
	  (buffer-substring (point) (point-at-eol)))))))