Function: x-display-color-p

x-display-color-p is a function alias for display-color-p, defined in faces.el.gz.

This function is obsolete since 30.1; use display-color-p instead.

Signature

(x-display-color-p &optional DISPLAY)

Documentation

Return t if DISPLAY supports color.

The optional argument DISPLAY specifies which display to ask about. DISPLAY should be either a frame or a display name (a string). If omitted or nil, that stands for the selected frame's display.

Probably introduced at or before Emacs version 21.1.

Aliases

viper-color-display-p (obsolete since 29.1) ediff-color-display-p (obsolete since 27.1) mh-colors-available-p (obsolete since 29.1) x-display-color-p (obsolete since 30.1) ps-color-device (obsolete since 29.1)