Variable: erc-noncommands-mode-hook

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

Value

nil

Documentation

Hook run after entering or leaving erc-noncommands-mode(var)/erc-noncommands-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-goodies.el.gz
(define-erc-module noncommands nil
  "This mode distinguishes non-commands.
Commands listed in `erc-insert-this' know how to display
themselves."
  ((add-hook 'erc-pre-send-functions #'erc-send-distinguish-noncommands))
  ((remove-hook 'erc-pre-send-functions #'erc-send-distinguish-noncommands)))