Function: erc-networks-mode

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

Signature

(erc-networks-mode &optional ARG)

Documentation

Toggle ERC networks mode.

With a prefix argument ARG, enable networks if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. Provide data about IRC networks.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-networks.el.gz
(define-erc-module networks nil
  "Provide data about IRC networks."
  ((add-hook 'erc-server-375-functions #'erc-set-network-name)
   (add-hook 'erc-server-422-functions #'erc-set-network-name)
   (add-hook 'erc-disconnected-hook #'erc-unset-network-name))
  ((remove-hook 'erc-server-375-functions #'erc-set-network-name)
   (remove-hook 'erc-server-422-functions #'erc-set-network-name)
   (remove-hook 'erc-disconnected-hook #'erc-unset-network-name)))