emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r101910: gnus-topic.el (gnus-topic-re


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101910: gnus-topic.el (gnus-topic-read-group): If after the last group, select the last group.
Date: Mon, 11 Oct 2010 11:02:17 +0000
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101910
author: Lars Magne Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Mon 2010-10-11 11:02:17 +0000
message:
  gnus-topic.el (gnus-topic-read-group): If after the last group, select the 
last group.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/gnus-topic.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2010-10-11 10:03:07 +0000
+++ b/lisp/gnus/ChangeLog       2010-10-11 11:02:17 +0000
@@ -1,3 +1,8 @@
+2010-10-11  Lars Magne Ingebrigtsen  <address@hidden>
+
+       * gnus-topic.el (gnus-topic-read-group): If after the last group,
+       select the last group.
+
 2010-10-11  Teodor Zlatanov  <address@hidden>
 
        * gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.

=== modified file 'lisp/gnus/gnus-topic.el'
--- a/lisp/gnus/gnus-topic.el   2010-10-02 10:30:06 +0000
+++ b/lisp/gnus/gnus-topic.el   2010-10-11 11:02:17 +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)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]