Variable: erc-match-mode

erc-match-mode is a customizable variable defined in erc-match.el.gz.

Value

nil

Documentation

Non-nil if Erc-Match mode is enabled.

See the erc-match-mode(var)/erc-match-mode(fun) command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node (emacs)Easy Customization) or call the function erc-match-mode(var)/erc-match-mode(fun).

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