Function: fill-single-char-nobreak-p
fill-single-char-nobreak-p is a byte-compiled function defined in
fill.el.gz.
Signature
(fill-single-char-nobreak-p)
Documentation
Return non-nil if a one-letter word is before point.
This function is suitable for adding to the hook fill-nobreak-predicate,
to prevent the breaking of a line just after a one-letter word,
which is an error according to some typographical conventions.
Probably introduced at or before Emacs version 24.4.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/fill.el.gz
(defun fill-single-char-nobreak-p ()
"Return non-nil if a one-letter word is before point.
This function is suitable for adding to the hook `fill-nobreak-predicate',
to prevent the breaking of a line just after a one-letter word,
which is an error according to some typographical conventions."
(save-excursion
(skip-chars-backward " \t")
(backward-char 2)
(looking-at "[[:space:]][[:alpha:]]")))