Function: longlines-set-breakpoint
longlines-set-breakpoint is a byte-compiled function defined in
longlines.el.gz.
Signature
(longlines-set-breakpoint TARGET-COLUMN)
Documentation
Place point where we should break the current line, and return t.
If the line should not be broken, return nil; point remains on the line.
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/longlines.el.gz
(defun longlines-set-breakpoint (target-column)
"Place point where we should break the current line, and return t.
If the line should not be broken, return nil; point remains on the
line."
(move-to-column target-column)
(let ((non-break-re (format "[^%s]" longlines-break-chars)))
(if (and (re-search-forward non-break-re (line-end-position) t 1)
(> (current-column) target-column))
;; This line is too long. Can we break it?
(or (longlines-find-break-backward)
(progn (move-to-column target-column)
(longlines-find-break-forward))))))