From: Richard M. Stallman Date: Sun, 6 Feb 2005 11:02:29 +0000 (+0000) Subject: (Margins): fill-nobreak-predicate can be one function. X-Git-Tag: ttn-vms-21-2-B4~2396 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=edd523a993e0e3967db43d376f6dd3bff3e47f82;p=emacs.git (Margins): fill-nobreak-predicate can be one function. --- 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