Function: newsticker--do-run-auto-mark-filter
newsticker--do-run-auto-mark-filter is a byte-compiled function
defined in newst-backend.el.gz.
Signature
(newsticker--do-run-auto-mark-filter ITEM LIST)
Documentation
Actually compare ITEM against the pattern-LIST.
LIST must be an element of newsticker-auto-mark-filter-list.
Source Code
;; Defined in /usr/src/emacs/lisp/net/newst-backend.el.gz
(defun newsticker--do-run-auto-mark-filter (item list)
"Actually compare ITEM against the pattern-LIST.
LIST must be an element of `newsticker-auto-mark-filter-list'."
(dolist (pattern list)
(let ((place (nth 1 pattern))
(regexp (nth 2 pattern))
(title (newsticker--title item))
(desc (newsticker--desc item)))
(when (or (eq place 'title) (eq place 'all))
(when (and title (string-match regexp title))
(newsticker--process-auto-mark-filter-match item pattern)))
(when (or (eq place 'description) (eq place 'all))
(when (and desc (string-match regexp desc))
(newsticker--process-auto-mark-filter-match item pattern))))))