Function: gnus-apply-kill-file-unless-scored

gnus-apply-kill-file-unless-scored is a byte-compiled function defined in gnus-kill.el.gz.

Signature

(gnus-apply-kill-file-unless-scored)

Documentation

Apply .KILL file, unless a .SCORE file for the same newsgroup exists.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-kill.el.gz
(defun gnus-apply-kill-file-unless-scored ()
  "Apply .KILL file, unless a .SCORE file for the same newsgroup exists."
  (cond ((file-exists-p (gnus-score-file-name gnus-newsgroup-name))
	 ;; Ignores global KILL.
	 (when (file-exists-p (gnus-newsgroup-kill-file gnus-newsgroup-name))
	   (gnus-message 3 "Note: Ignoring %s.KILL; preferring .SCORE"
			 gnus-newsgroup-name))
	 0)
	((or (file-exists-p (gnus-newsgroup-kill-file nil))
	     (file-exists-p (gnus-newsgroup-kill-file gnus-newsgroup-name)))
	 (gnus-apply-kill-file-internal))
	(t
	 0)))