1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

gnus-sum.el (gnus-summary-rescan-group): Try to restore the window config after reselecting.

This commit is contained in:
Lars Magne Ingebrigtsen 2010-10-28 22:03:15 +00:00 committed by Katsumi Yamaoka
parent a62b88d401
commit eb9df2c9c7
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-10-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-sum.el (gnus-summary-rescan-group): Try to restore the window
config after reselecting.
2010-10-28 Julien Danjou <julien@danjou.info>
* shr.el (shr-put-image): Use point even if only inserting text.

View file

@ -7033,7 +7033,11 @@ The prefix argument ALL means to select all articles."
(defun gnus-summary-rescan-group (&optional all)
"Exit the newsgroup, ask for new articles, and select the newsgroup."
(interactive "P")
(gnus-summary-reselect-current-group all t))
(let ((config gnus-current-window-configuration))
(gnus-summary-reselect-current-group all t)
(gnus-configure-windows config)
(when (eq config 'article)
(gnus-summary-select-article))))
(defun gnus-summary-update-info (&optional non-destructive)
(save-excursion