Adopt for old Gnusae.
authortsuchiya <tsuchiya>
Thu, 10 Jan 2002 06:05:28 +0000 (06:05 +0000)
committertsuchiya <tsuchiya>
Thu, 10 Jan 2002 06:05:28 +0000 (06:05 +0000)
ChangeLog
lisp/nnshimbun.el

index 2144f9f..e8414b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-10  TSUCHIYA Masatoshi  <tsuchiya@namazu.org>
+
+       * lisp/nnshimbun.el: Adopt for old Gnusae.
+
 2002-01-10  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * lisp/message.el (message-strip-forbidden-properties): Don't
index 52bffad..e961d78 100644 (file)
 ;; '(index-range all prefetch-articles off encapsulate-images on
 ;;               expiry-wait 6)
 
+(unless (fboundp 'gnus-define-group-parameter)
+  (defmacro gnus-define-group-parameter (&rest args) nil)
+  (defun nnshimbun-find-group-parameters (name)
+    "Return a nnshimbun GROUP's group parameters."
+    (when name
+      (or (gnus-group-find-parameter name 'nnshimbun-group-parameters t)
+         (assoc-default name
+                        (and (boundp 'nnshimbun-group-parameters-alist)
+                             (symbol-value 'nnshimbun-group-parameters-alist))
+                        (function string-match))))))
+
 (gnus-define-group-parameter
  nnshimbun-group-parameters
  :type list