(defun gnus-mark-xrefs-as-read (from-newsgroup headers unreads)
"Look through all the headers and mark the Xrefs as read."
(let ((virtual (gnus-virtual-group-p from-newsgroup))
- name info xref-hashtb method nth4)
+ info xref-hashtb method nth4)
(with-current-buffer gnus-group-buffer
(when (setq xref-hashtb
(gnus-create-xref-hashtb from-newsgroup headers unreads))
(unless (string= from-newsgroup group)
;; Dead groups are not updated.
(and (prog1
- (setq info (gnus-get-info name))
+ (setq info (gnus-get-info group))
(when (stringp (setq nth4 (gnus-info-method info)))
(setq nth4 (gnus-server-to-method nth4))))
;; Only do the xrefs if the group has the same
;; Only do cross-references on subscribed
;; groups, if that is what is wanted.
(<= (gnus-info-level info) gnus-level-subscribed))
- (gnus-group-make-articles-read name idlist))))
+ (gnus-group-make-articles-read group idlist))))
xref-hashtb)))))
(defun gnus-compute-read-articles (group articles)