From: ShengHuo ZHU Date: Fri, 14 Feb 2003 20:02:10 +0000 (+0000) Subject: * gnus-art.el (gnus-article-prepare): Don't set agent mark if X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=1e832e32ca997dc54179c24b0a8c0724316d8156 * gnus-art.el (gnus-article-prepare): Don't set agent mark if online. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 555504a7a..afe48b054 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-02-14 ShengHuo ZHU + + * gnus-art.el (gnus-article-prepare): Don't set agent mark if + online. + 2003-02-14 Kai Gro,A_(Bjohann * gnus-agent.el (gnus-agent-group-make-menu-bar): Include all diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index c6701557a..be6a51819 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -3572,7 +3572,9 @@ If ALL-HEADERS is non-nil, no headers are hidden." (cons gnus-newsgroup-name article)) (set-buffer gnus-summary-buffer) (setq gnus-current-article article) - (if (memq article gnus-newsgroup-undownloaded) + (if (and (memq article gnus-newsgroup-undownloaded) + (not (gnus-online (gnus-find-method-for-group + gnus-newsgroup-name)))) (progn (gnus-summary-set-agent-mark article) (message "Message marked for downloading"))