Variable: icon-preference

icon-preference is a customizable variable defined in icons.el.gz.

Value

(image emoji symbol text)

Documentation

List of icon types to use, in order of preference.

Emacs will choose the icon of the highest preference possible on the current display, and "degrade" gracefully to an icon type that's available.

This variable was added, or its default value changed, in Emacs 29.1.

View in manual

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/icons.el.gz
(defcustom icon-preference '(image emoji symbol text)
  "List of icon types to use, in order of preference.
Emacs will choose the icon of the highest preference possible
on the current display, and \"degrade\" gracefully to an icon
type that's available."
  :version "29.1"
  :group 'customize
  :type '(repeat (choice (const :tag "Images" image)
                         (const :tag "Colorful Emojis" emoji)
                         (const :tag "Monochrome Symbols" symbol)
                         (const :tag "Text Only" text))))