* gnus-art.el (gnus-article-prepare): Don't set agent mark if
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 14 Feb 2003 20:02:10 +0000 (20:02 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 14 Feb 2003 20:02:10 +0000 (20:02 +0000)
online.

lisp/ChangeLog
lisp/gnus-art.el

index 555504a..afe48b0 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-14  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-art.el (gnus-article-prepare): Don't set agent mark if
+       online.
+
 2003-02-14  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
 
        * gnus-agent.el (gnus-agent-group-make-menu-bar): Include all
index c670155..be6a518 100644 (file)
@@ -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"))