Function: preview-cache-preamble-off

preview-cache-preamble-off is an interactive and byte-compiled function defined in preview.el.

Signature

(preview-cache-preamble-off &optional OLD-FORMAT)

Documentation

Clear the pregenerated format file.

The use of the format file is discontinued. OLD-FORMAT may already contain a format-cons as stored in preview-dumped-alist.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-cache-preamble-off (&optional old-format)
  "Clear the pregenerated format file.
The use of the format file is discontinued.
OLD-FORMAT may already contain a format-cons as
stored in `preview-dumped-alist'."
  (interactive)
  (unless old-format
    (setq old-format
          (let ((master-file (expand-file-name (TeX-master-file))))
            (or (assoc master-file preview-dumped-alist)
                (car (push (list master-file) preview-dumped-alist))))))
  (preview-unwatch-preamble old-format)
  (preview-format-kill old-format)
  (setcdr old-format nil))