Function: org-file-image-p

org-file-image-p is a byte-compiled function defined in org.el.gz.

Signature

(org-file-image-p FILE)

Documentation

Return non-nil if FILE is an image.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
;;; TODO: Only called once, from ox-odt which should probably use
;;; org-export-inline-image-p or something.
(defun org-file-image-p (file)
  "Return non-nil if FILE is an image."
  (save-match-data
    (string-match (image-file-name-regexp) file)))