Function: erc-ignored-reply-p
erc-ignored-reply-p is a byte-compiled function defined in erc.el.gz.
Signature
(erc-ignored-reply-p MSG TGT PROC)
Documentation
Return non-nil if MSG matches something in erc-ignore-reply-list.
Takes a message MSG to a channel and returns non-nil if the addressed
user matches any regexp in erc-ignore-reply-list.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-ignored-reply-p (msg tgt proc)
;; FIXME: this docstring needs fixing -- Lawrence 2004-01-08
"Return non-nil if MSG matches something in `erc-ignore-reply-list'.
Takes a message MSG to a channel and returns non-nil if the addressed
user matches any regexp in `erc-ignore-reply-list'."
(let ((target-nick (erc-message-target msg)))
(if (not target-nick)
nil
(erc-with-buffer (tgt proc)
(let ((user (erc-get-server-user target-nick)))
(when user
(erc-list-match erc-ignore-reply-list
(erc-user-spec user))))))))