Function: erc-noncommands-mode

erc-noncommands-mode is an interactive and byte-compiled function defined in erc-goodies.el.gz.

Signature

(erc-noncommands-mode &optional ARG)

Documentation

Toggle ERC noncommands mode.

With a prefix argument ARG, enable noncommands if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. This mode distinguishes non-commands. Commands listed in erc-insert-this know how to display themselves.

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