Variable: erc-text-matched-hook

erc-text-matched-hook is a customizable variable defined in erc-match.el.gz.

Value

(erc-log-matches)

Documentation

Abnormal hook for visiting text matching a predefined "type".

ERC calls members with the arguments (MATCH-TYPE NUH MESSAGE), where MATCH-TYPE is a symbol among current-nick, keyword, pal, dangerous-host, and fool; and NUH is an erc-response sender, like
"bob!~bob@example.org" or an IRC command prefixed with the string
"Server:", as in "Server:353". MESSAGE is the current incarnation
of the just-inserted message minus a leading speaker, like "<bob> ". For traditional reasons, MESSAGE always includes a leading erc-notice-prefix and a trailing newline.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defcustom erc-text-matched-hook '(erc-log-matches)
  "Abnormal hook for visiting text matching a predefined \"type\".
ERC calls members with the arguments (MATCH-TYPE NUH MESSAGE), where
MATCH-TYPE is a symbol among `current-nick', `keyword', `pal',
`dangerous-host', and `fool'; and NUH is an `erc-response' sender, like
\"bob!~bob@example.org\" or an IRC command prefixed with the string
\"Server:\", as in \"Server:353\".  MESSAGE is the current incarnation
of the just-inserted message minus a leading speaker, like \"<bob> \".
For traditional reasons, MESSAGE always includes a leading
`erc-notice-prefix' and a trailing newline."
  :options '(erc-log-matches erc-hide-fools erc-beep-on-match)
  :type 'hook)