* gnus.el (gnus-info-find-node): Pretend to be `gnus-article-mode' in the
authoryamaoka <yamaoka>
Sun, 4 Mar 2001 23:54:35 +0000 (23:54 +0000)
committeryamaoka <yamaoka>
Sun, 4 Mar 2001 23:54:35 +0000 (23:54 +0000)
 article buffer.

ChangeLog
lisp/gnus.el

index f6e36b2..047a746 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-04  Katsumi Yamaoka <yamaoka@jpl.org>
+
+       * lisp/gnus.el (gnus-info-find-node): Pretend to be
+       `gnus-article-mode' in the article buffer.
+
 2001-03-02  Katsumi Yamaoka <yamaoka@jpl.org>
 
        * lisp/nnshimbun.el (nnshimbun-kinsoku-eol-list): Simplified.
index 7252a40..55add41 100644 (file)
@@ -2179,7 +2179,9 @@ STRINGS will be evaluated in normal `or' order."
             (or gnus-info-filename
                 (get-language-info current-language-environment 'gnus-info)
                 "gnus")
-            (cadr (assq major-mode gnus-info-nodes))))
+            (or (cadr (assq major-mode gnus-info-nodes))
+                (and (eq (current-buffer) (get-buffer gnus-article-buffer))
+                     (cadr (assq 'gnus-article-mode gnus-info-nodes))))))
     (setq gnus-info-buffer (current-buffer))
     (gnus-configure-windows 'info)))