emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 9f5f26c: Tweak point placement in *Group* on `Q' ex


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 9f5f26c: Tweak point placement in *Group* on `Q' exit
Date: Fri, 13 Apr 2018 15:48:48 -0400 (EDT)

branch: master
commit 9f5f26c2b699f26937245905b3217b2fc6a4cf06
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Tweak point placement in *Group* on `Q' exit
    
    * lisp/gnus/gnus-sum.el (gnus-summary-exit-no-update): When
    exiting the summary buffer with `Q', move point to the next unread
    group (which is the same thing that happens on `q' exit.)
---
 lisp/gnus/gnus-sum.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index b1e9d60..0a7b233 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -7353,7 +7353,7 @@ If FORCE (the prefix), also save the .newsrc file(s)."
       (setq gnus-newsgroup-name nil)
       (unless (gnus-ephemeral-group-p group)
        (gnus-group-update-group group nil t))
-      (when (equal (gnus-group-group-name) group)
+      (when (gnus-group-goto-group group)
        (gnus-group-next-unread-group 1))
       (gnus-article-stop-animations)
       (when quit-config



reply via email to

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