Variable: image-text-based-formats
image-text-based-formats is a customizable variable defined in
image-mode.el.gz.
Value
(svg xpm)
Documentation
List of image formats that use a plain text format.
For such formats, display a message that explains how to edit the
image as text, when opening such images in image-mode.
This variable was added, or its default value changed, in Emacs 29.1.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/image-mode.el.gz
;;; Image Mode setup
(defcustom image-text-based-formats '(svg xpm)
"List of image formats that use a plain text format.
For such formats, display a message that explains how to edit the
image as text, when opening such images in `image-mode'."
:type '(choice (const :tag "Disable completely" nil)
(repeat :tag "List of formats" sexp))
:version "29.1"
:group 'image)