Function: refill-adjust-ignorable-overlay
refill-adjust-ignorable-overlay is a byte-compiled function defined in
refill.el.gz.
Signature
(refill-adjust-ignorable-overlay OVERLAY AFTERP BEG END &optional LEN)
Documentation
Adjust OVERLAY to not include the about-to-be-modified region.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/refill.el.gz
(defun refill-adjust-ignorable-overlay (overlay afterp beg _end &optional _len)
"Adjust OVERLAY to not include the about-to-be-modified region."
(when (not afterp)
(save-excursion
(goto-char beg)
(forward-line -1)
(if (<= (point) (overlay-start overlay))
;; Just get OVERLAY out of the way
(move-overlay overlay (point-min) (point-min))
;; Make overlay contain only the region
(move-overlay overlay (overlay-start overlay) (point))))))