Variable: erc-fill--wrap-length-function

erc-fill--wrap-length-function is a buffer-local variable defined in erc-fill.el.gz.

Documentation

Function to determine length of overhanging characters.

It should return an EXPR as defined by the Info node (elisp) Pixel Specification. This value should represent the width of the overhang with all faces applied, including any enclosing brackets (which are not normally fontified) and a trailing space. It can also return nil to tell ERC to fall back to the default behavior of taking the length from the first "word". This variable can be converted to a public one if needed by third parties.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-fill.el.gz
(defvar-local erc-fill--wrap-length-function nil
  "Function to determine length of overhanging characters.
It should return an EXPR as defined by the Info node `(elisp)
Pixel Specification'.  This value should represent the width of
the overhang with all faces applied, including any enclosing
brackets (which are not normally fontified) and a trailing space.
It can also return nil to tell ERC to fall back to the default
behavior of taking the length from the first \"word\".  This
variable can be converted to a public one if needed by third
parties.")