Variable: gnus-score-find-score-files-function

gnus-score-find-score-files-function is a customizable variable defined in gnus-score.el.gz.

Value

gnus-score-find-bnews

Documentation

Function used to find score files.

The function will be called with the group name as the argument, and should return a list of score files to apply to that group. The score files do not actually have to exist.

Predefined values are:

gnus-score-find-single: Only apply the group's own score file. gnus-score-find-hierarchical: Also apply score files from parent groups. gnus-score-find-bnews: Apply score files whose names matches.

See the documentation to these functions for more information.

This variable can also be a list of functions to be called. Each function is given the group name as argument and should either return a list of score files, or a list of score alists.

If functions other than these pre-defined functions are used, the a symbolic prefix to the score commands will always use
"all.SCORE".

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-score.el.gz
(defcustom gnus-score-find-score-files-function 'gnus-score-find-bnews
  "Function used to find score files.
The function will be called with the group name as the argument, and
should return a list of score files to apply to that group.  The score
files do not actually have to exist.

Predefined values are:

`gnus-score-find-single': Only apply the group's own score file.
`gnus-score-find-hierarchical': Also apply score files from parent groups.
`gnus-score-find-bnews': Apply score files whose names matches.

See the documentation to these functions for more information.

This variable can also be a list of functions to be called.  Each
function is given the group name as argument and should either return
a list of score files, or a list of score alists.

If functions other than these pre-defined functions are used,
the `a' symbolic prefix to the score commands will always use
\"all.SCORE\"."
  :group 'gnus-score-files
  :type '(radio (function-item gnus-score-find-single)
		(function-item gnus-score-find-hierarchical)
		(function-item gnus-score-find-bnews)
		(repeat :tag "List of functions"
			(choice (function :tag "Other" :value 'ignore)
				(function-item gnus-score-find-single)
				(function-item gnus-score-find-hierarchical)
				(function-item gnus-score-find-bnews)))
		(function :tag "Other" :value 'ignore)))