[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Auto Fill mode is a minor mode that fills lines automatically as text is inserted. This section describes the hook used by Auto Fill mode. For a description of functions that you can call explicitly to fill and justify existing text, see 32.11 Filling.
Auto Fill mode also enables the functions that change the margins and justification style to refill portions of the text. See section 32.12 Margins for Filling.
auto-fill-chars
. It may be nil
, in which case nothing
special is done in that case.
The value of auto-fill-function
is do-auto-fill
when
Auto-Fill mode is enabled. That is a function whose sole purpose is to
implement the usual strategy for breaking a line.
In older Emacs versions, this variable was namedauto-fill-hook
, but since it is not called with the standard convention for hooks, it was renamed toauto-fill-function
in version 19.
auto-fill-function
, if and when Auto Fill is turned on. Major
modes can set buffer-local values for this variable to alter how Auto
Fill works.
auto-fill-function
when
self-inserted--space and newline in most language environments. They
have an entry t
in the table.