revert a little.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 20 Jul 2001 19:05:56 +0000 (19:05 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 20 Jul 2001 19:05:56 +0000 (19:05 +0000)
lisp/ChangeLog
lisp/gnus-score.el

index 0dc1dd5..e5aeace 100644 (file)
@@ -1,7 +1,6 @@
 2001-07-20 11:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-score.el (gnus-home-score-file): nnheader-translate-file-chars.
-       (gnus-all-score-files): Ditto.
 
 2001-07-18  Per Abrahamsen  <abraham@dina.kvl.dk>
 
index ef3f337..81cfecd 100644 (file)
@@ -2745,8 +2745,7 @@ The list is determined from the variable gnus-score-file-alist."
        (when (gnus-functionp (car funcs))
          (setq score-files
                (nconc score-files 
-                       (mapcar 'nnheader-translate-file-chars
-                               (nreverse (funcall (car funcs) group))))))
+                       (nreverse (funcall (car funcs) group)))))
        (setq funcs (cdr funcs)))
       (when gnus-score-use-all-scores
        ;; Add any home score files.
@@ -2841,19 +2840,19 @@ If ADAPT, return the home adaptive file instead."
     (while (and (not found)
                (setq elem (pop list)))
       (setq found
-            (nnheader-translate-file-chars
-             (cond
-              ;; Simple string.
-              ((stringp elem)
-               elem)
-              ;; Function.
-              ((gnus-functionp elem)
-               (funcall elem group))
-              ;; Regexp-file cons.
-              ((consp elem)
-               (when (string-match (gnus-globalify-regexp (car elem)) group)
-                 (replace-match (cadr elem) t nil group)))))))
+            (cond
+             ;; Simple string.
+             ((stringp elem)
+              elem)
+             ;; Function.
+             ((gnus-functionp elem)
+              (funcall elem group))
+             ;; Regexp-file cons.
+             ((consp elem)
+              (when (string-match (gnus-globalify-regexp (car elem)) group)
+                (replace-match (cadr elem) t nil group))))))
     (when found
+      (setq found (nnheader-translate-file-chars found))
       (if (file-name-absolute-p found)
           found
         (nnheader-concat gnus-kill-files-directory found)))))