Variable: fill-paragraph-function

fill-paragraph-function is a variable defined in fill.el.gz.

Documentation

Mode-specific function to fill a paragraph, or nil if there is none.

If the function returns nil, then fill-paragraph does its normal work. A value of t means explicitly "do nothing special". Note: This only affects fill-paragraph and not fill-region nor auto-fill-mode, so it is often better to use some other hook, such as fill-forward-paragraph-function.

Probably introduced at or before Emacs version 19.29.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/fill.el.gz
(defvar fill-paragraph-function nil
  "Mode-specific function to fill a paragraph, or nil if there is none.
If the function returns nil, then `fill-paragraph' does its normal work.
A value of t means explicitly \"do nothing special\".
Note: This only affects `fill-paragraph' and not `fill-region'
nor `auto-fill-mode', so it is often better to use some other hook,
such as `fill-forward-paragraph-function'.")