Function: erc-fill-mode

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

Signature

(erc-fill-mode &optional ARG)

Documentation

Toggle ERC fill mode.

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

Manage filling in ERC buffers. ERC fill mode is a global minor mode. When enabled, messages in channel buffers are filled. See also erc-fill-wrap-mode(var)/erc-fill-wrap-mode(fun).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-fill.el.gz
;;;###autoload(autoload 'erc-fill-mode "erc-fill" nil t)
(define-erc-module fill nil
  "Manage filling in ERC buffers.
ERC fill mode is a global minor mode.  When enabled, messages in
channel buffers are filled.  See also `erc-fill-wrap-mode'."
  ((add-hook 'erc-insert-modify-hook #'erc-fill 60)
   (add-hook 'erc-send-modify-hook #'erc-fill 60))
  ((remove-hook 'erc-insert-modify-hook #'erc-fill)
   (remove-hook 'erc-send-modify-hook #'erc-fill)))