diff options
| author | Richard M. Stallman | 2005-02-06 11:02:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-06 11:02:29 +0000 |
| commit | edd523a993e0e3967db43d376f6dd3bff3e47f82 (patch) | |
| tree | 8fff29b2db7b126a56db3c33d0c382cf896ef413 | |
| parent | 376dfc01c5c4d8e19a5bb4f5ef5a5f3384369094 (diff) | |
| download | emacs-edd523a993e0e3967db43d376f6dd3bff3e47f82.tar.gz emacs-edd523a993e0e3967db43d376f6dd3bff3e47f82.zip | |
(Margins): fill-nobreak-predicate can be one function.
| -rw-r--r-- | lispref/text.texi | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lispref/text.texi b/lispref/text.texi index 0e636d4ba58..2237bc0cc90 100644 --- a/lispref/text.texi +++ b/lispref/text.texi | |||
| @@ -1598,11 +1598,13 @@ becomes buffer-local when set in any fashion. | |||
| 1598 | @end defvar | 1598 | @end defvar |
| 1599 | 1599 | ||
| 1600 | @defvar fill-nobreak-predicate | 1600 | @defvar fill-nobreak-predicate |
| 1601 | This variable gives major modes a way to specify not to break a line at | 1601 | This variable gives major modes a way to specify not to break a line |
| 1602 | certain places. Its value should be a function. This function is | 1602 | at certain places. Its value should be a list of functions, but a |
| 1603 | called during filling, with no arguments and with point located at the | 1603 | single function is also supported for compatibility. Whenever filling |
| 1604 | place where a break is being considered. If the function returns | 1604 | considers breaking the line at a certain place in the buffer, it calls |
| 1605 | non-@code{nil}, then the line won't be broken there. | 1605 | each of these functions with no arguments and with point located at |
| 1606 | that place. If any of the functions returns non-@code{nil}, then the | ||
| 1607 | line won't be broken there. | ||
| 1606 | @end defvar | 1608 | @end defvar |
| 1607 | 1609 | ||
| 1608 | @node Adaptive Fill | 1610 | @node Adaptive Fill |