diff options
| -rw-r--r-- | lispref/text.texi | 15 |
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. | |||
| 412 | In an interactive call, @var{count} is the numeric prefix argument. | 412 | In an interactive call, @var{count} is the numeric prefix argument. |
| 413 | 413 | ||
| 414 | This command calls @code{auto-fill-function} whenever that is | 414 | This command calls @code{auto-fill-function} whenever that is |
| 415 | non-@code{nil} and the character inserted is a space or a newline | 415 | non-@code{nil} and the character inserted is in the table |
| 416 | (@pxref{Auto Filling}). | 416 | @code{auto-fill-chars} (@pxref{Auto Filling}). |
| 417 | 417 | ||
| 418 | @c Cross refs reworded to prevent overfull hbox. --rjc 15mar92 | 418 | @c Cross refs reworded to prevent overfull hbox. --rjc 15mar92 |
| 419 | This command performs abbrev expansion if Abbrev mode is enabled and | 419 | 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}. | |||
| 1498 | 1498 | ||
| 1499 | @defvar auto-fill-function | 1499 | @defvar auto-fill-function |
| 1500 | The value of this variable should be a function (of no arguments) to be | 1500 | The value of this variable should be a function (of no arguments) to be |
| 1501 | called after self-inserting a space or a newline. It may be @code{nil}, | 1501 | called after self-inserting a character from the table |
| 1502 | in which case nothing special is done in that case. | 1502 | @code{auto-fill-chars}. It may be @code{nil}, in which case nothing |
| 1503 | special is done in that case. | ||
| 1503 | 1504 | ||
| 1504 | The value of @code{auto-fill-function} is @code{do-auto-fill} when | 1505 | The value of @code{auto-fill-function} is @code{do-auto-fill} when |
| 1505 | Auto-Fill mode is enabled. That is a function whose sole purpose is to | 1506 | 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 | |||
| 1519 | Fill works. | 1520 | Fill works. |
| 1520 | @end defvar | 1521 | @end defvar |
| 1521 | 1522 | ||
| 1523 | @defvar auto-fill-chars | ||
| 1524 | A char table of characters which invoke @code{auto-fill-function} when | ||
| 1525 | self-inserted---space and newline in most language environments. They | ||
| 1526 | have an entry @code{t} in the table. | ||
| 1527 | @end defvar | ||
| 1528 | |||
| 1522 | @node Sorting | 1529 | @node Sorting |
| 1523 | @section Sorting Text | 1530 | @section Sorting Text |
| 1524 | @cindex sorting text | 1531 | @cindex sorting text |