Function: preview-make-image
preview-make-image is a byte-compiled function defined in preview.el.
Signature
(preview-make-image SYMBOL)
Documentation
Make an image from a preview spec list.
The first spec that is workable (given the current setting of
preview-min-spec) from the given SYMBOL is used here. The
icon is cached in the property list of the SYMBOL.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-make-image (symbol)
"Make an image from a preview spec list.
The first spec that is workable (given the current setting of
`preview-min-spec') from the given SYMBOL is used here. The
icon is cached in the property list of the SYMBOL."
(let ((alist (get symbol 'preview-min-alist)))
(cdr (or
(assq preview-min-spec alist)
(car (put symbol 'preview-min-alist
(cons
(cons preview-min-spec
(preview-filter-specs
(symbol-value symbol)))
alist)))))))