Variable: erc-noncommands-mode

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

Value

nil

Documentation

Non-nil if Erc-Noncommands mode is enabled.

See the erc-noncommands-mode(var)/erc-noncommands-mode(fun) command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node (emacs)Easy Customization) or call the function erc-noncommands-mode(var)/erc-noncommands-mode(fun).

Key Bindings

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