]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix indexing of Gnus entry in gnus-group-unsubscribe-group
authorEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 18 Jul 2019 03:34:48 +0000 (20:34 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 18 Jul 2019 03:34:48 +0000 (20:34 -0700)
* lisp/gnus/gnus-group.el (gnus-group-unsubscribe-group): Hopefully
  that's the last of these.

lisp/gnus/gnus-group.el

index bdc8c38b1bbbaec20869ec73157ea51d1eb3d5e9..299ebdec50a5cdacf1002afd69a524117744fd40 100644 (file)
@@ -3814,7 +3814,7 @@ group line."
      (newsrc
       ;; Toggle subscription flag.
       (gnus-group-change-level
-       newsrc (if level level (if (<= (gnus-info-level (nth 2 newsrc))
+       newsrc (if level level (if (<= (gnus-info-level (nth 1 newsrc))
                                      gnus-level-subscribed)
                                  (1+ gnus-level-subscribed)
                                gnus-level-default-subscribed)))