Function: longlines-after-change-function

longlines-after-change-function is a byte-compiled function defined in longlines.el.gz.

Signature

(longlines-after-change-function BEG END LEN)

Documentation

Update longlines-wrap-beg and longlines-wrap-end.

This is called by after-change-functions to keep track of the region that has changed.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/longlines.el.gz
(defun longlines-after-change-function (beg end _len)
  "Update `longlines-wrap-beg' and `longlines-wrap-end'.
This is called by `after-change-functions' to keep track of the region
that has changed."
  (when (and longlines-auto-wrap (not undo-in-progress))
    (setq longlines-wrap-beg
          (if longlines-wrap-beg (min longlines-wrap-beg beg) beg))
    (setq longlines-wrap-end
          (if longlines-wrap-end (max longlines-wrap-end end) end))))