Variable: image-type-auto-detectable

image-type-auto-detectable is a variable defined in image.el.gz.

Value

((pbm . t) (xbm) (bmp . maybe) (gif . maybe) (png . maybe) (xpm)
 (jpeg . maybe) (tiff . maybe) (svg . maybe) (webp . maybe)
 (postscript) (heic . maybe))

Documentation

Alist of (IMAGE-TYPE . AUTODETECT) pairs used to auto-detect image files.

(See image-type-auto-detected-p).

AUTODETECT can be
 - t always auto-detect.
 - nil never auto-detect.
 - maybe auto-detect only if the image type is available
(see image-type-available-p).

Source Code

;; Defined in /usr/src/emacs/lisp/image.el.gz
;; We rely on `auto-mode-alist' to detect xbm and xpm files, instead
;; of content autodetection.  Their contents are just C code, so it is
;; easy to generate false matches.
(defvar image-type-auto-detectable
  '((pbm . t)
    (xbm . nil)
    (bmp . maybe)
    (gif . maybe)
    (png . maybe)
    (xpm . nil)
    (jpeg . maybe)
    (tiff . maybe)
    (svg . maybe)
    (webp . maybe)
    (postscript . nil)
    (heic . maybe))
  "Alist of (IMAGE-TYPE . AUTODETECT) pairs used to auto-detect image files.
\(See `image-type-auto-detected-p').

AUTODETECT can be
 - t      always auto-detect.
 - nil    never auto-detect.
 - maybe  auto-detect only if the image type is available
	    (see `image-type-available-p').")