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 MATCH)

Documentation

Return non-nil if the pattern given for MATCH's user option matches.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defun erc-match--keyword-p (match)
  "Return non-nil if the pattern given for MATCH's user option matches."
  (and-let* ((patterns (erc-match-traditional-data match)))
    (goto-char (erc-match-body-beg match))
    (re-search-forward (erc-match--opt-pat-get #'erc-match--opt-pat-make-kw
                                               patterns)
                       nil t)))