summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-05-09 16:33:44 +0000
committerDave Love <fx@gnu.org>2000-05-09 16:33:44 +0000
commitca3be36e4eabb57729f2ceac47b65e71ea4248c7 (patch)
treefa59ed219ead441ce6a4d119396c3de8c050a895 /lispref
parent950cf06f8f023c10ebd0bb17f82f4146b916f435 (diff)
downloademacs-ca3be36e4eabb57729f2ceac47b65e71ea4248c7.tar.gz
auto-fill-chars
Diffstat (limited to 'lispref')
-rw-r--r--lispref/text.texi15
1 files changed, 11 insertions, 4 deletions
diff --git a/lispref/text.texi b/lispref/text.texi
index 6c3e9722266..ac157f70304 100644
--- a/lispref/text.texi
+++ b/lispref/text.texi
@@ -412,8 +412,8 @@ it except to install it on a keymap.
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 @@ justification style to refill portions of the text. @xref{Margins}.
@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 @@ modes can set buffer-local values for this variable to alter how Auto
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