]> git.eshelyaron.com Git - emacs.git/commitdiff
(gnus-request-article-this-buffer): Refer to
authorGerd Moellmann <gerd@gnu.org>
Tue, 18 Sep 2001 12:25:52 +0000 (12:25 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 18 Sep 2001 12:25:52 +0000 (12:25 +0000)
`gnus-current-select-method' in the current summary buffer.
From TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>.

lisp/gnus/gnus-art.el

index 00a444f93d2a003cb53f3ea63989ea3d1d114da3..225ef3572b4ea6d878b455d2a39ac9db52335ed2 100644 (file)
@@ -1,5 +1,7 @@
 ;;; gnus-art.el --- article mode commands for Gnus
-;; Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+
+;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
+;;   Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;; Keywords: news
@@ -4048,7 +4050,9 @@ If given a prefix, show the hidden text instead."
                (setq gnus-override-method (pop methods)))
              (while (not result)
                (when (eq gnus-override-method 'current)
-                 (setq gnus-override-method gnus-current-select-method))
+                 (setq gnus-override-method
+                       (with-current-buffer gnus-summary-buffer
+                         gnus-current-select-method)))
                (erase-buffer)
                (gnus-kill-all-overlays)
                (let ((gnus-newsgroup-name group))