From ca3be36e4eabb57729f2ceac47b65e71ea4248c7 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 9 May 2000 16:33:44 +0000 Subject: [PATCH] auto-fill-chars --- lispref/text.texi | 15 +++++++++++---- 1 file 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 -- 2.39.5