Make gnus-orphan-score local.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 16 Jun 2000 23:13:10 +0000 (23:13 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 16 Jun 2000 23:13:10 +0000 (23:13 +0000)
lisp/ChangeLog
lisp/gnus-score.el
lisp/gnus-sum.el

index 818d235..76592d5 100644 (file)
@@ -1,3 +1,9 @@
+2000-06-17 18:58:46  Shenghuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-sum.el (gnus-summary-local-variables): gnus-orphan-score is
+       a local variable.
+       * gnus-sum.el (gnus-orphan-score): Move here.
+
 2000-06-10 09:33:36  Shenghuo ZHU  <zsh@cs.rochester.edu>
 
        * message.el (message-forward): Remove show-mml condition.
index 49232b0..430600e 100644 (file)
@@ -139,12 +139,6 @@ will be expired along with non-matching score entries."
   :group 'gnus-score-expire
   :type 'boolean)
 
-(defcustom gnus-orphan-score nil
-  "*All orphans get this score added.  Set in the score file."
-  :group 'gnus-score-default
-  :type '(choice (const nil)
-                integer))
-
 (defcustom gnus-decay-scores nil
   "*If non-nil, decay non-permanent scores."
   :group 'gnus-score-decay
index 4db4015..1570b81 100644 (file)
@@ -879,6 +879,12 @@ For example: ((1 . cn-gb-2312) (2 . big5))."
   :type 'function
   :group 'gnus-summary)
 
+(defcustom gnus-orphan-score nil
+  "*All orphans get this score added.  Set in the score file."
+  :group 'gnus-score-default
+  :type '(choice (const nil)
+                integer))
+
 ;;; Internal variables
 
 (defvar gnus-article-mime-handles nil)
@@ -1096,6 +1102,7 @@ variable (string, integer, character, etc).")
     gnus-score-alist gnus-current-score-file
     (gnus-summary-expunge-below . global)
     (gnus-summary-mark-below . global)
+    (gnus-orphan-score . global)
     gnus-newsgroup-active gnus-scores-exclude-files
     gnus-newsgroup-history gnus-newsgroup-ancient
     gnus-newsgroup-sparse gnus-newsgroup-process-stack