Function: display-images-p

display-images-p is a byte-compiled function defined in frame.el.gz.

Signature

(display-images-p &optional DISPLAY)

Documentation

Return non-nil if DISPLAY can display images.

DISPLAY can be a display name, a frame, or nil (meaning the selected frame's display).

View in manual

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
(defun display-images-p (&optional display)
  "Return non-nil if DISPLAY can display images.

DISPLAY can be a display name, a frame, or nil (meaning the selected
frame's display)."
  (and (display-graphic-p display)
       (fboundp 'image-mask-p)
       (fboundp 'image-size)))