# HG changeset patch # User Eli Zaretskii # Date 1011968102 0 # Node ID 3bd7e8f774e50b8258c4e36f639892b720d81eee # Parent 3d42a88083b35a997301ae24f95692b65bd89caf (Text Terminal Colors): Document tty-display-color-p. diff -r 3d42a88083b3 -r 3bd7e8f774e5 lispref/frames.texi --- a/lispref/frames.texi Fri Jan 25 14:11:11 2002 +0000 +++ b/lispref/frames.texi Fri Jan 25 14:15:02 2002 +0000 @@ -1575,9 +1575,15 @@ selected frame's terminal; @pxref{Input Focus}). At present, though, the @var{display} argument has no effect. +@defun tty-display-color-p &optional display +This function returns non-@code{nil} if the terminal on @var{display} +supports colors. +@end defun + @defun tty-display-color-cells &optional display This function returns the number of distinct colors supported for -@var{display}. +@var{display}. For a monochrome terminal which only supports two +colors (usually black and white), this function returns zero. @end defun @defun tty-color-define name number &optional rgb display