Function: gnus-summary-update-article
gnus-summary-update-article is a byte-compiled function defined in
gnus-sum.el.gz.
Signature
(gnus-summary-update-article ARTICLE &optional IHEADER)
Documentation
Update ARTICLE in the summary buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-sum.el.gz
(defun gnus-summary-update-article (article &optional iheader)
"Update ARTICLE in the summary buffer."
(set-buffer gnus-summary-buffer)
(let* ((header (gnus-summary-article-header article))
(id (mail-header-id header))
(data (gnus-data-find article))
(thread (gnus-id-to-thread id))
(references (mail-header-references header))
(parent
(gnus-id-to-thread
(or (gnus-parent-id
(when (and references
(not (equal "" references)))
references))
"none")))
(inhibit-read-only t)
(old (car thread)))
(when thread
(unless iheader
(setcar thread nil)
(when parent
(delq thread parent)))
(if (gnus-summary-insert-subject id header)
;; Set the (possibly) new article number in the data structure.
(setf (gnus-data-number data) (gnus-id-to-article id))
(setcar thread old)
nil))))