Variable: erc-netsplit-mode

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

Value

nil

Documentation

Non-nil if Erc-Netsplit mode is enabled.

See the erc-netsplit-mode(var)/erc-netsplit-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-netsplit-mode(var)/erc-netsplit-mode(fun).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-netsplit.el.gz
;;;###autoload(autoload 'erc-netsplit-mode "erc-netsplit")
(define-erc-module netsplit nil
  "This mode hides quit/join messages if a netsplit occurs."
  ( ; FIXME delete newline on next edit
   (add-hook 'erc-server-JOIN-functions #'erc-netsplit-JOIN)
   (add-hook 'erc-server-MODE-functions #'erc-netsplit-MODE)
   (add-hook 'erc-server-QUIT-functions #'erc-netsplit-QUIT)
   (add-hook 'erc-timer-hook #'erc-netsplit-timer))
  ((remove-hook 'erc-server-JOIN-functions #'erc-netsplit-JOIN)
   (remove-hook 'erc-server-MODE-functions #'erc-netsplit-MODE)
   (remove-hook 'erc-server-QUIT-functions #'erc-netsplit-QUIT)
   (remove-hook 'erc-timer-hook #'erc-netsplit-timer)))