Function: erc-beep-on-match

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

Signature

(erc-beep-on-match MATCH-TYPE NICKUSERHOST MESSAGE)

Documentation

Beep when text matches.

This function is meant to be called from erc-text-matched-hook.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defun erc-beep-on-match (match-type _nickuserhost _message)
  "Beep when text matches.
This function is meant to be called from `erc-text-matched-hook'."
  (when (member match-type erc-beep-match-types)
    (beep)))