Function: longlines-set-breakpoint

longlines-set-breakpoint is a byte-compiled function defined in longlines.el.gz.

Signature

(longlines-set-breakpoint)

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 ()
  "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 fill-column)
  (if (and (re-search-forward "[^ ]" (line-end-position) 1)
           (> (current-column) fill-column))
      ;; This line is too long.  Can we break it?
      (or (longlines-find-break-backward)
          (progn (move-to-column fill-column)
                 (longlines-find-break-forward)))))