Function: preview-add-urgentization

preview-add-urgentization is a byte-compiled function defined in preview.el.

Signature

(preview-add-urgentization FUN OV &rest REST)

Documentation

Cause FUN (function call form) to be called when redisplayed.

FUN must be a form with OV as first argument, REST as the remainder, returning T.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-add-urgentization (fun ov &rest rest)
  "Cause FUN (function call form) to be called when redisplayed.
FUN must be a form with OV as first argument,
REST as the remainder, returning T."
  (let ((dispro (overlay-get ov 'display)))
    (unless (eq (car dispro) 'when)
      (overlay-put ov 'display `(when (,fun ,ov ,@rest)  . ,dispro)))))