Function: preview-handle-insert-in-front

preview-handle-insert-in-front is a byte-compiled function defined in preview.el.

Signature

(preview-handle-insert-in-front OV AFTER-CHANGE BEG END &optional LENGTH)

Documentation

Hook function for insert-in-front-hooks property.

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-in-front
  (ov after-change _beg end &optional _length)
  "Hook function for `insert-in-front-hooks' property.
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 end (overlay-end ov))))
    (preview-register-change ov)))