Variable: erc-list-mode-hook
erc-list-mode-hook is a customizable variable defined in
erc-list.el.gz.
Value
nil
Documentation
Hook run after entering or leaving erc-list-mode(var)/erc-list-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-list.el.gz
;; Define module:
;;;###autoload(autoload 'erc-list-mode "erc-list")
(define-erc-module list nil
"List channels nicely in a separate buffer."
((remove-hook 'erc-server-321-functions #'erc-server-321-message)
(remove-hook 'erc-server-322-functions #'erc-server-322-message))
((erc-with-all-buffers-of-server nil
#'erc-open-server-buffer-p
(remove-hook 'erc-server-322-functions #'erc-list-handle-322 t))
(add-hook 'erc-server-321-functions #'erc-server-321-message t)
(add-hook 'erc-server-322-functions #'erc-server-322-message t)))