Function: allout-overlay-insert-in-front-handler

allout-overlay-insert-in-front-handler is a byte-compiled function defined in allout.el.gz.

Signature

(allout-overlay-insert-in-front-handler OL AFTER BEG END &optional PRELEN)

Documentation

Shift the overlay so stuff inserted in front of it is excluded.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_  > allout-overlay-insert-in-front-handler (ol after beg end
;;;                                                &optional prelen)
(defun allout-overlay-insert-in-front-handler (ol after beg _end
                                                  &optional _prelen)
  "Shift the overlay so stuff inserted in front of it is excluded."
  (if after
      ;; ??? Shouldn't moving the overlay should be unnecessary, if overlay
      ;;     front-advance on the overlay worked as expected?
      (move-overlay ol (1+ beg) (overlay-end ol))))