Function: preview-icon-copy
preview-icon-copy is a byte-compiled function defined in preview.el.
Signature
(preview-icon-copy ICON)
Documentation
Prepare a later call of preview-replace-active-icon.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defsubst preview-icon-copy (icon)
"Prepare a later call of `preview-replace-active-icon'."
;; This is just a GNU Emacs specific efficiency hack because it
;; is easy to do. When porting, don't do anything complicated
;; here, rather deliver just the unchanged icon and make
;; `preview-replace-active-icon' do the necessary work of replacing
;; the icon where it actually has been stored, probably
;; in the car of the strings property of the overlay. This string
;; might probably serve as a begin-glyph as well, in which case
;; modifying the string in the strings property would change that
;; glyph automatically.
(cons 'image (cdr icon)))