Function: erc-match-keyword-p
erc-match-keyword-p is a byte-compiled function defined in
erc-match.el.gz.
Signature
(erc-match-keyword-p NICKUSERHOST MSG)
Documentation
Check whether any keyword of erc-keywords matches for MSG.
NICKUSERHOST will be ignored.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defun erc-match-keyword-p (_nickuserhost msg)
"Check whether any keyword of `erc-keywords' matches for MSG.
NICKUSERHOST will be ignored."
(and msg
(erc-list-match
(mapcar (lambda (x)
(if (listp x)
(car x)
x))
erc-keywords)
msg)))