Function: gnus-agent-fetch-selected-article

gnus-agent-fetch-selected-article is a byte-compiled function defined in gnus-agent.el.gz.

Signature

(gnus-agent-fetch-selected-article)

Documentation

Fetch the current article as it is selected.

This can be added to gnus-select-article-hook or gnus-mark-article-hook.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-agent.el.gz
(defun gnus-agent-fetch-selected-article ()
  "Fetch the current article as it is selected.
This can be added to `gnus-select-article-hook' or
`gnus-mark-article-hook'."
  (let ((gnus-command-method gnus-current-select-method))
    (when (and gnus-plugged (gnus-agent-method-p gnus-command-method))
      (when (gnus-agent-fetch-articles
             gnus-newsgroup-name
	     (list gnus-current-article))
	(setq gnus-newsgroup-undownloaded
	      (delq gnus-current-article gnus-newsgroup-undownloaded))
        (gnus-summary-update-download-mark gnus-current-article)))))