Variable: fill-nobreak-predicate

fill-nobreak-predicate is a customizable variable defined in fill.el.gz.

Value

nil

Documentation

List of predicates for recognizing places not to break a line.

The predicates are called with no arguments, with point at the place to be tested. If it returns a non-nil value, fill commands do not break the line there.

Probably introduced at or before Emacs version 20.3.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/fill.el.gz
(defcustom fill-nobreak-predicate nil
  "List of predicates for recognizing places not to break a line.
The predicates are called with no arguments, with point at the place to
be tested.  If it returns a non-nil value, fill commands do not break
the line there."
  :type 'hook
  :options '(fill-french-nobreak-p fill-single-word-nobreak-p
             fill-single-char-nobreak-p))