Function: erc-match-mode
erc-match-mode is an autoloaded, interactive and byte-compiled
function defined in erc-match.el.gz.
Signature
(erc-match-mode &optional ARG)
Documentation
Toggle ERC match mode.
With a prefix argument ARG, enable match if ARG is positive,
and disable it otherwise. If called from Lisp, enable the mode
if ARG is omitted or nil.
This mode checks whether messages match certain patterns. If so,
they are hidden or highlighted. This is controlled via the variables
erc-pals, erc-fools, erc-keywords, erc-dangerous-hosts, and
erc-current-nick-highlight-type. For all these highlighting types,
you can decide whether the entire message or only the sending nick is
highlighted.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
;;;###autoload(autoload 'erc-match-mode "erc-match")
(define-erc-module match nil
"This mode checks whether messages match certain patterns. If so,
they are hidden or highlighted. This is controlled via the variables
`erc-pals', `erc-fools', `erc-keywords', `erc-dangerous-hosts', and
`erc-current-nick-highlight-type'. For all these highlighting types,
you can decide whether the entire message or only the sending nick is
highlighted."
((add-hook 'erc-insert-modify-hook #'erc-match-message 'append))
((remove-hook 'erc-insert-modify-hook #'erc-match-message)))