aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Abrahamsen2019-08-03 17:01:52 -0700
committerEric Abrahamsen2019-08-03 17:01:52 -0700
commit2d47483e815979d0ae0edd6f878b7fbb85fd72fa (patch)
tree38b4cb868e4c5a7f204462d1201274b5e5104cd8
parent727e0eab0a0d8043d09225f63f8bef2abc045562 (diff)
downloademacs-2d47483e815979d0ae0edd6f878b7fbb85fd72fa.tar.gz
emacs-2d47483e815979d0ae0edd6f878b7fbb85fd72fa.zip
Fix Gnus group name reference in gnus-mark-xrefs-as-read
* lisp/gnus/gnus-sum.el (gnus-mark-xrefs-as-read): There's already a local binding for "group", don't need another "name". This was left over from the obarray-to-hashtable change.
-rw-r--r--lisp/gnus/gnus-sum.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index a6a0bdb2287..73478f4cbdd 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -6263,7 +6263,7 @@ The resulting hash table is returned, or nil if no Xrefs were found."
6263(defun gnus-mark-xrefs-as-read (from-newsgroup headers unreads) 6263(defun gnus-mark-xrefs-as-read (from-newsgroup headers unreads)
6264 "Look through all the headers and mark the Xrefs as read." 6264 "Look through all the headers and mark the Xrefs as read."
6265 (let ((virtual (gnus-virtual-group-p from-newsgroup)) 6265 (let ((virtual (gnus-virtual-group-p from-newsgroup))
6266 name info xref-hashtb method nth4) 6266 info xref-hashtb method nth4)
6267 (with-current-buffer gnus-group-buffer 6267 (with-current-buffer gnus-group-buffer
6268 (when (setq xref-hashtb 6268 (when (setq xref-hashtb
6269 (gnus-create-xref-hashtb from-newsgroup headers unreads)) 6269 (gnus-create-xref-hashtb from-newsgroup headers unreads))
@@ -6272,7 +6272,7 @@ The resulting hash table is returned, or nil if no Xrefs were found."
6272 (unless (string= from-newsgroup group) 6272 (unless (string= from-newsgroup group)
6273 ;; Dead groups are not updated. 6273 ;; Dead groups are not updated.
6274 (and (prog1 6274 (and (prog1
6275 (setq info (gnus-get-info name)) 6275 (setq info (gnus-get-info group))
6276 (when (stringp (setq nth4 (gnus-info-method info))) 6276 (when (stringp (setq nth4 (gnus-info-method info)))
6277 (setq nth4 (gnus-server-to-method nth4)))) 6277 (setq nth4 (gnus-server-to-method nth4))))
6278 ;; Only do the xrefs if the group has the same 6278 ;; Only do the xrefs if the group has the same
@@ -6290,7 +6290,7 @@ The resulting hash table is returned, or nil if no Xrefs were found."
6290 ;; Only do cross-references on subscribed 6290 ;; Only do cross-references on subscribed
6291 ;; groups, if that is what is wanted. 6291 ;; groups, if that is what is wanted.
6292 (<= (gnus-info-level info) gnus-level-subscribed)) 6292 (<= (gnus-info-level info) gnus-level-subscribed))
6293 (gnus-group-make-articles-read name idlist)))) 6293 (gnus-group-make-articles-read group idlist))))
6294 xref-hashtb))))) 6294 xref-hashtb)))))
6295 6295
6296(defun gnus-compute-read-articles (group articles) 6296(defun gnus-compute-read-articles (group articles)