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>
(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.
(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)))))