changeset 39334:f8ce69d86eea

(gnus-select-newsgroup): Make `gnus-current-select-method' buffer-local. From TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 18 Sep 2001 12:25:20 +0000
parents 7af35736264f
children 65ef5b3fc045
files lisp/gnus/gnus-sum.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/gnus-sum.el	Tue Sep 18 12:20:53 2001 +0000
+++ b/lisp/gnus/gnus-sum.el	Tue Sep 18 12:25:20 2001 +0000
@@ -4212,8 +4212,8 @@
 	 articles fetched-articles cached)
 
     (unless (gnus-check-server
-	     (setq gnus-current-select-method
-		   (gnus-find-method-for-group group)))
+	     (set (make-local-variable 'gnus-current-select-method)
+		  (gnus-find-method-for-group group)))
       (error "Couldn't open server"))
 
     (or (and entry (not (eq (car entry) t))) ; Either it's active...