]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't use summary window to visit group buffer (bugfix)
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 8 Sep 2017 02:16:19 +0000 (02:16 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 8 Sep 2017 02:16:19 +0000 (02:16 +0000)
* lisp/gnus/gnus-sum.el (gnus-summary-jump-to-group): Make sure that
the window to open the group buffer doesn't visit the summary buffer.
This fixes a bug: `gnus-summary-next-article' sometimes causes an error
by trying to select nonexistent summary window.

lisp/gnus/gnus-sum.el

index f2e51fb225f830914c9606f2b704fc1d0ffcd9c9..025969296712671372fa286b7a369e83bc9c6407 100644 (file)
@@ -6931,7 +6931,7 @@ displayed, no centering will be performed."
     (save-excursion
       ;; Take care of tree window mode.
       (if (get-buffer-window gnus-group-buffer 0)
-         (pop-to-buffer gnus-group-buffer)
+         (pop-to-buffer gnus-group-buffer t)
        (set-buffer gnus-group-buffer))
       (gnus-group-jump-to-group newsgroup))))