Function: preview-format-kill

preview-format-kill is a byte-compiled function defined in preview.el.

Signature

(preview-format-kill FORMAT-CONS)

Documentation

Kill a cached format.

FORMAT-CONS is intended to be an element of preview-dumped-alist. Tries through preview-format-extensions.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-format-kill (format-cons)
  "Kill a cached format.
FORMAT-CONS is intended to be an element of `preview-dumped-alist'.
Tries through `preview-format-extensions'."
  (when (consp (cdr format-cons))
    (dolist (ext preview-format-extensions)
      (condition-case nil
          (delete-file (preview-dump-file-name (concat (cadr format-cons) ext)))
        (file-error nil)))))