[gnus git] branch master updated: n0-17-196-gd96021a =1= (gnus-handle-ephemeral-exit): Set the right select-method when not returning to group buffer.

Andrew Cohen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  d96021a8d164856adfa2bfb01dbdd9ff6ce335f5 (commit)
      from  173930971cd53b11fa4f4d4fcf4bed68df0f7793 (commit)


- Log -----------------------------------------------------------------
commit d96021a8d164856adfa2bfb01dbdd9ff6ce335f5
Author: Andrew Cohen <[email protected]>
Date:   Wed Jul 20 07:48:56 2011 -0400

    (gnus-handle-ephemeral-exit): Set the right select-method when not
    returning to group buffer.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a90b5dd..d150347 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-20  Andrew Cohen  <[email protected]>
+
+	* gnus-sum.el (gnus-handle-ephemeral-exit): Ensure we are setting the
+	right select-method if we are not going back to the group buffer.
+
+
 2011-07-19  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* gnus-group.el (gnus-group-read-ephemeral-group): Make sure we don't
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 86ff018..6e8fc63 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -7339,6 +7339,9 @@ The state which existed when entering the ephemeral is reset."
   (if (not (buffer-name (car quit-config)))
       (gnus-configure-windows 'group 'force)
     (set-buffer (car quit-config))
+    (unless (eq (cdr quit-config) 'group)
+      (setq gnus-current-select-method
+	    (gnus-find-method-for-group gnus-newsgroup-name)))
     (cond ((eq major-mode 'gnus-summary-mode)
 	   (gnus-set-global-variables))
 	  ((eq major-mode 'gnus-article-mode)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    6 ++++++
 lisp/gnus-sum.el |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.