diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2010-10-11 11:02:17 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2010-10-11 11:02:17 +0000 |
commit | 6ec07c5ad9aa8b9292025e0f9ed820b678852896 (patch) | |
tree | 7a08635e0e623543469f4bff7305e1ea8d65d39a /lisp/gnus/gnus-topic.el | |
parent | 0be56f178c8c988c83699ed7e6dd85f215415571 (diff) | |
download | emacs-6ec07c5ad9aa8b9292025e0f9ed820b678852896.tar.gz |
gnus-topic.el (gnus-topic-read-group): If after the last group, select the last group.
Diffstat (limited to 'lisp/gnus/gnus-topic.el')
-rw-r--r-- | lisp/gnus/gnus-topic.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el index efa543f68d6..e4afc7c2fb4 100644 --- a/lisp/gnus/gnus-topic.el +++ b/lisp/gnus/gnus-topic.el @@ -1255,6 +1255,8 @@ that group. 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))) |