]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak point placement in *Group* on `Q' exit
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 19:33:37 +0000 (21:33 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 19:33:37 +0000 (21:33 +0200)
* 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

index b1e9d60e3b2f5c148940132865055591c79b51e9..0a7b233a480c3698e19d80057bc47b255c5c322a 100644 (file)
@@ -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