Function: erc-replace-mode
erc-replace-mode is an autoloaded, interactive and byte-compiled
function defined in erc-replace.el.gz.
Signature
(erc-replace-mode &optional ARG)
Documentation
Toggle ERC replace mode.
With a prefix argument ARG, enable replace if ARG is positive,
and disable it otherwise. If called from Lisp, enable the mode
if ARG is omitted or nil.
This mode replaces incoming text according to erc-replace-alist.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-replace.el.gz
;;;###autoload(autoload 'erc-replace-mode "erc-replace")
(define-erc-module replace nil
"This mode replaces incoming text according to `erc-replace-alist'."
((add-hook 'erc-insert-modify-hook
#'erc-replace-insert))
((remove-hook 'erc-insert-modify-hook
#'erc-replace-insert)))