Function: preview-handle-insert-behind
preview-handle-insert-behind is a byte-compiled function defined in
preview.el.
Signature
(preview-handle-insert-behind OV AFTER-CHANGE BEG END &optional LENGTH)
Documentation
Hook function for insert-behind-hooks property.
This is needed in case insert-before-markers is used at the
end of the overlay. See info node (elisp) Overlay Properties
for definition of OV, AFTER-CHANGE, BEG, END and LENGTH.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-handle-insert-behind
(ov after-change beg _end &optional _length)
"Hook function for `insert-behind-hooks' property.
This is needed in case `insert-before-markers' is used at the
end of the overlay. See info node `(elisp) Overlay Properties'
for definition of OV, AFTER-CHANGE, BEG, END and LENGTH."
(if after-change
(unless undo-in-progress
(if (eq (overlay-get ov 'preview-state) 'active)
(move-overlay ov (overlay-start ov) beg)))
(preview-register-change ov)))