Function: thumbs-insert-image

thumbs-insert-image is a byte-compiled function defined in thumbs.el.gz.

Signature

(thumbs-insert-image IMG TYPE RELIEF &optional MARKED)

Documentation

Insert image IMG at point.

TYPE and RELIEF will be used in constructing the image; see image in the emacs-lisp manual for further documentation. If MARKED is non-nil, the image is marked.

Source Code

;; Defined in /usr/src/emacs/lisp/thumbs.el.gz
(defun thumbs-insert-image (img type relief &optional marked)
  "Insert image IMG at point.
TYPE and RELIEF will be used in constructing the image; see `image'
in the emacs-lisp manual for further documentation.
If MARKED is non-nil, the image is marked."
  (let ((i `(image :type ,type
		   :file ,img
		   :relief ,relief
		   :conversion ,(if marked 'disabled)
		   :margin ,thumbs-margin)))
    (insert-image i)
    (setq-local thumbs-current-image-size (image-size i t))))