;;; Commentary:
;; The other access methods (nntp, nnspool, etc) are general news
-;; access methods. This module relies on Gnus and can not be used
+;; access methods. This module relies on Gnus and can not be used
;; separately.
;;; Code:
(deffoo nnvirtual-close-group (group &optional server)
(when (and (nnvirtual-possibly-change-server server)
- (not (gnus-ephemeral-group-p group)))
+ (not (gnus-ephemeral-group-p (nnvirtual-current-group))))
;; Copy (un)read articles.
(nnvirtual-update-reads)
;; We copy the marks from this group to the component