aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-02-06 11:02:29 +0000
committerRichard M. Stallman2005-02-06 11:02:29 +0000
commitedd523a993e0e3967db43d376f6dd3bff3e47f82 (patch)
tree8fff29b2db7b126a56db3c33d0c382cf896ef413
parent376dfc01c5c4d8e19a5bb4f5ef5a5f3384369094 (diff)
downloademacs-edd523a993e0e3967db43d376f6dd3bff3e47f82.tar.gz
emacs-edd523a993e0e3967db43d376f6dd3bff3e47f82.zip
(Margins): fill-nobreak-predicate can be one function.
-rw-r--r--lispref/text.texi12
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
1601This variable gives major modes a way to specify not to break a line at 1601This variable gives major modes a way to specify not to break a line
1602certain places. Its value should be a function. This function is 1602at certain places. Its value should be a list of functions, but a
1603called during filling, with no arguments and with point located at the 1603single function is also supported for compatibility. Whenever filling
1604place where a break is being considered. If the function returns 1604considers breaking the line at a certain place in the buffer, it calls
1605non-@code{nil}, then the line won't be broken there. 1605each of these functions with no arguments and with point located at
1606that place. If any of the functions returns non-@code{nil}, then the
1607line won't be broken there.
1606@end defvar 1608@end defvar
1607 1609
1608@node Adaptive Fill 1610@node Adaptive Fill