From edd523a993e0e3967db43d376f6dd3bff3e47f82 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 6 Feb 2005 11:02:29 +0000 Subject: [PATCH] (Margins): fill-nobreak-predicate can be one function. --- lispref/text.texi | 12 +++++++----- 1 file 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. @end defvar @defvar fill-nobreak-predicate -This variable gives major modes a way to specify not to break a line at -certain places. Its value should be a function. This function is -called during filling, with no arguments and with point located at the -place where a break is being considered. If the function returns -non-@code{nil}, then the line won't be broken there. +This variable gives major modes a way to specify not to break a line +at certain places. Its value should be a list of functions, but a +single function is also supported for compatibility. Whenever filling +considers breaking the line at a certain place in the buffer, it calls +each of these functions with no arguments and with point located at +that place. If any of the functions returns non-@code{nil}, then the +line won't be broken there. @end defvar @node Adaptive Fill -- 2.39.5