]> git.eshelyaron.com Git - emacs.git/commitdiff
Make `jump to group' work even if it is not activated (bug#33653)
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 9 Apr 2019 04:15:57 +0000 (04:15 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 9 Apr 2019 04:25:36 +0000 (04:25 +0000)
* lisp/gnus/gnus-group.el (gnus-group-goto-group):
Use gnus-newsrc-hashtb instead of gnus-active-hashtb to check if
a group exists even if its server is not activated (bug#33653).

lisp/gnus/gnus-group.el

index 0be385417456852f4e23710a8d990b526692193e..58f3dc3a6ef7638dfea9e34799ed40606a14e139 100644 (file)
@@ -2560,7 +2560,7 @@ If FAR, it is likely that the group is not on the current line.
 If TEST-MARKED, the line must be marked."
   (when group
     (let ((start (point))
-         (active (and (gethash group gnus-active-hashtb)
+         (active (and (gethash group gnus-newsrc-hashtb)
                       group)))
       (beginning-of-line)
       (cond