Function: erc-ignored-user-p
erc-ignored-user-p is a byte-compiled function defined in erc.el.gz.
Signature
(erc-ignored-user-p SPEC)
Documentation
Return non-nil if SPEC matches something in erc-ignore-list.
Takes a full SPEC of a user in the form "nick!login@host", and
matches against all the regexp's in erc-ignore-list. If any
match, returns that regexp.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-ignored-user-p (spec)
"Return non-nil if SPEC matches something in `erc-ignore-list'.
Takes a full SPEC of a user in the form \"nick!login@host\", and
matches against all the regexp's in `erc-ignore-list'. If any
match, returns that regexp."
(catch 'found
(dolist (ignored (erc-with-server-buffer erc-ignore-list))
(if (string-match ignored spec)
(throw 'found ignored)))))