Function: erc-notify-mode

erc-notify-mode is an autoloaded, interactive and byte-compiled function defined in erc-notify.el.gz.

Signature

(erc-notify-mode &optional ARG)

Documentation

Toggle ERC notify mode.

If called interactively, enable erc-notify-mode(var)/erc-notify-mode(fun) if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil.

Periodically check for the online status of certain users and report changes.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-notify.el.gz
;;;###autoload(autoload 'erc-notify-mode "erc-notify" nil t)
(define-erc-module notify nil
  "Periodically check for the online status of certain users and report
changes."
  ((add-hook 'erc-timer-hook #'erc-notify-timer)
   (add-hook 'erc-server-JOIN-functions #'erc-notify-JOIN)
   (add-hook 'erc-server-NICK-functions #'erc-notify-NICK)
   (add-hook 'erc-server-QUIT-functions #'erc-notify-QUIT))
  ((remove-hook 'erc-timer-hook #'erc-notify-timer)
   (remove-hook 'erc-server-JOIN-functions #'erc-notify-JOIN)
   (remove-hook 'erc-server-NICK-functions #'erc-notify-NICK)
   (remove-hook 'erc-server-QUIT-functions #'erc-notify-QUIT)))