]> git.eshelyaron.com Git - emacs.git/commitdiff
(gnus-select-newsgroup): Make
authorGerd Moellmann <gerd@gnu.org>
Tue, 18 Sep 2001 12:25:20 +0000 (12:25 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 18 Sep 2001 12:25:20 +0000 (12:25 +0000)
`gnus-current-select-method' buffer-local.
From TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>.

lisp/gnus/gnus-sum.el

index fa933373f85e89f5311e3c1e317fa7d1932c1caa..36fff90ef88df15afec35d2bc07d3ee800b6114d 100644 (file)
@@ -4212,8 +4212,8 @@ If SELECT-ARTICLES, only select those articles from GROUP."
         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...