Mercurial > emacs
comparison lispref/text.texi @ 28843:951c07315d97
auto-fill-chars
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 09 May 2000 16:33:44 +0000 |
parents | cabb1b4c4424 |
children | c7c150b377c0 |
comparison
equal
deleted
inserted
replaced
28842:979956ac9352 | 28843:951c07315d97 |
---|---|
410 it except to install it on a keymap. | 410 it except to install it on a keymap. |
411 | 411 |
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 |
420 the inserted character does not have word-constituent | 420 the inserted character does not have word-constituent |
421 syntax. (@xref{Abbrevs}, and @ref{Syntax Class Table}.) | 421 syntax. (@xref{Abbrevs}, and @ref{Syntax Class Table}.) |
1496 Auto Fill mode also enables the functions that change the margins and | 1496 Auto Fill mode also enables the functions that change the margins and |
1497 justification style to refill portions of the text. @xref{Margins}. | 1497 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 |
1506 implement the usual strategy for breaking a line. | 1507 implement the usual strategy for breaking a line. |
1507 | 1508 |
1515 @defvar normal-auto-fill-function | 1516 @defvar normal-auto-fill-function |
1516 This variable specifies the function to use for | 1517 This variable specifies the function to use for |
1517 @code{auto-fill-function}, if and when Auto Fill is turned on. Major | 1518 @code{auto-fill-function}, if and when Auto Fill is turned on. Major |
1518 modes can set buffer-local values for this variable to alter how Auto | 1519 modes can set buffer-local values for this variable to alter how Auto |
1519 Fill works. | 1520 Fill works. |
1521 @end defvar | |
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. | |
1520 @end defvar | 1527 @end defvar |
1521 | 1528 |
1522 @node Sorting | 1529 @node Sorting |
1523 @section Sorting Text | 1530 @section Sorting Text |
1524 @cindex sorting text | 1531 @cindex sorting text |