Variable: erc-fill-mode-hook
erc-fill-mode-hook is a customizable variable defined in
erc-fill.el.gz.
Value
nil
Documentation
Hook run after entering or leaving erc-fill-mode(var)/erc-fill-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-fill.el.gz
;;;###autoload(autoload 'erc-fill-mode "erc-fill" nil t)
(define-minor-mode erc-fill-mode
"Toggle ERC fill mode.
With a prefix argument ARG, enable ERC fill mode if ARG is
positive, and disable it otherwise. If called from Lisp, enable
the mode if ARG is omitted or nil.
ERC fill mode is a global minor mode. When enabled, messages in
the channel buffers are filled."
:global t
(if erc-fill-mode
(erc-fill-enable)
(erc-fill-disable)))