Function: gnus-apply-kill-file

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

Signature

(gnus-apply-kill-file)

Documentation

Apply a kill file to the current newsgroup.

Returns the number of articles marked as read.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus.el.gz
;;;
;;; Kill file handling.
;;;

(defun gnus-apply-kill-file ()
  "Apply a kill file to the current newsgroup.
Returns the number of articles marked as read."
  (if (or (file-exists-p (gnus-newsgroup-kill-file nil))
	  (file-exists-p (gnus-newsgroup-kill-file gnus-newsgroup-name)))
      (gnus-apply-kill-file-internal)
    0))