Function: gnus-tree-highlight-article
gnus-tree-highlight-article is a byte-compiled function defined in
gnus-salt.el.gz.
Signature
(gnus-tree-highlight-article ARTICLE FACE)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-salt.el.gz
(defun gnus-tree-highlight-article (article face)
;; The save-excursion here is apparently necessary because
;; `set-window-point' somehow manages to alter the buffer position.
(save-excursion
(with-current-buffer (gnus-get-tree-buffer)
(let (region)
(when (setq region (gnus-tree-article-region article))
(put-text-property (car region) (cdr region) 'face face)
(set-window-point
(gnus-get-buffer-window (current-buffer) t) (cdr region)))))))