Function: treemacs--is-image-creation-impossible?

treemacs--is-image-creation-impossible? is a byte-compiled function defined in treemacs-icons.el.

Signature

(treemacs--is-image-creation-impossible?)

Documentation

Will return non-nil when Emacs is unable to create images.

In this scenario (usually caused by running Emacs without a graphical environment) treemacs will not create any of its icons and will be forced to permanently use its simple string icon fallback.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-icons.el
(define-inline treemacs--is-image-creation-impossible? ()
  "Will return non-nil when Emacs is unable to create images.
In this scenario (usually caused by running Emacs without a graphical
environment) treemacs will not create any of its icons and will be forced to
permanently use its simple string icon fallback."
  (declare (pure t) (side-effect-free t))
  (inline-quote (not (image-type-available-p 'png))))