# HG changeset patch # User Katsumi Yamaoka # Date 1286794937 0 # Node ID 65a8bf3768b227dd3475330b7985207812bf6498 # Parent d0d0047ca0fb153834b0f0c2b9357450eea5b782 gnus-topic.el (gnus-topic-read-group): If after the last group, select the last group. diff -r d0d0047ca0fb -r 65a8bf3768b2 lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Mon Oct 11 10:03:07 2010 +0000 +++ b/lisp/gnus/ChangeLog Mon Oct 11 11:02:17 2010 +0000 @@ -1,3 +1,8 @@ +2010-10-11 Lars Magne Ingebrigtsen + + * gnus-topic.el (gnus-topic-read-group): If after the last group, + select the last group. + 2010-10-11 Teodor Zlatanov * gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el. diff -r d0d0047ca0fb -r 65a8bf3768b2 lisp/gnus/gnus-topic.el --- a/lisp/gnus/gnus-topic.el Mon Oct 11 10:03:07 2010 +0000 +++ b/lisp/gnus/gnus-topic.el Mon Oct 11 11:02:17 2010 +0000 @@ -1255,6 +1255,8 @@ If performed over a topic line, toggle folding the topic." (interactive "P") + (when (and (eobp) (not (gnus-group-group-name))) + (forward-line -1)) (if (gnus-group-topic-p) (let ((gnus-group-list-mode (if all (cons (if (numberp all) all 7) t) gnus-group-list-mode)))