# HG changeset patch # User Dave Love # Date 957890024 0 # Node ID 951c07315d97b02384310358e4de39e1ac59d023 # Parent 979956ac93521ebe1574d9868004a56c7a06f822 auto-fill-chars diff -r 979956ac9352 -r 951c07315d97 lispref/text.texi --- a/lispref/text.texi Tue May 09 15:51:57 2000 +0000 +++ b/lispref/text.texi Tue May 09 16:33:44 2000 +0000 @@ -412,8 +412,8 @@ In an interactive call, @var{count} is the numeric prefix argument. This command calls @code{auto-fill-function} whenever that is -non-@code{nil} and the character inserted is a space or a newline -(@pxref{Auto Filling}). +non-@code{nil} and the character inserted is in the table +@code{auto-fill-chars} (@pxref{Auto Filling}). @c Cross refs reworded to prevent overfull hbox. --rjc 15mar92 This command performs abbrev expansion if Abbrev mode is enabled and @@ -1498,8 +1498,9 @@ @defvar auto-fill-function The value of this variable should be a function (of no arguments) to be -called after self-inserting a space or a newline. It may be @code{nil}, -in which case nothing special is done in that case. +called after self-inserting a character from the table +@code{auto-fill-chars}. It may be @code{nil}, in which case nothing +special is done in that case. The value of @code{auto-fill-function} is @code{do-auto-fill} when Auto-Fill mode is enabled. That is a function whose sole purpose is to @@ -1519,6 +1520,12 @@ Fill works. @end defvar +@defvar auto-fill-chars +A char table of characters which invoke @code{auto-fill-function} when +self-inserted---space and newline in most language environments. They +have an entry @code{t} in the table. +@end defvar + @node Sorting @section Sorting Text @cindex sorting text