[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102141: gnus-sum.el (gnus-summary-re
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102141: gnus-sum.el (gnus-summary-rescan-group): Try to restore the window config after reselecting. |
Date: |
Thu, 28 Oct 2010 22:03:15 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102141
author: Lars Magne Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Thu 2010-10-28 22:03:15 +0000
message:
gnus-sum.el (gnus-summary-rescan-group): Try to restore the window config
after reselecting.
modified:
lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2010-10-28 12:45:51 +0000
+++ b/lisp/gnus/ChangeLog 2010-10-28 22:03:15 +0000
@@ -1,3 +1,8 @@
+2010-10-28 Lars Magne Ingebrigtsen <address@hidden>
+
+ * gnus-sum.el (gnus-summary-rescan-group): Try to restore the window
+ config after reselecting.
+
2010-10-28 Julien Danjou <address@hidden>
* shr.el (shr-put-image): Use point even if only inserting text.
=== modified file 'lisp/gnus/gnus-sum.el'
--- a/lisp/gnus/gnus-sum.el 2010-10-25 05:43:08 +0000
+++ b/lisp/gnus/gnus-sum.el 2010-10-28 22:03:15 +0000
@@ -7033,7 +7033,11 @@
(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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102141: gnus-sum.el (gnus-summary-rescan-group): Try to restore the window config after reselecting.,
Katsumi Yamaoka <=