Variable: erc-replace-mode-hook

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

Value

nil

Documentation

Hook run after entering or leaving erc-replace-mode(var)/erc-replace-mode(fun).

No problems result if this variable is not bound. add-hook automatically binds it. (This is true for all hook variables.)

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