Function: erc-match-get-match

erc-match-get-match is a byte-compiled function defined in erc-match.el.gz.

Signature

(erc-match-get-match CONSTRUCTOR)

Documentation

Return successful erc-match instance for CONSTRUCTOR, if any.

Expect to be called only from erc-match :predicate and :handler functions as well as erc-text-matched-hook members.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defun erc-match-get-match (constructor)
  "Return successful `erc-match' instance for CONSTRUCTOR, if any.
Expect to be called only from `erc-match' :predicate and :handler
functions as well as `erc-text-matched-hook' members."
  (alist-get constructor erc-match--instances))