# HG changeset patch # User Eli Zaretskii # Date 1012735261 0 # Node ID abc5c5ca5655c2628a968bb65fc6c90129a87f54 # Parent 1d771d9e634ff1cd529da65fb9e708da6ba9221d (Text Terminal Colors): Remove the documentation of tty-display-color-p. Suggest to avoid the use of tty-display-color-cells. diff -r 1d771d9e634f -r abc5c5ca5655 lispref/frames.texi --- a/lispref/frames.texi Sun Feb 03 10:40:12 2002 +0000 +++ b/lispref/frames.texi Sun Feb 03 11:21:01 2002 +0000 @@ -1575,15 +1575,12 @@ 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}. For a monochrome terminal which only supports two -colors (usually black and white), this function returns zero. +@var{display}. For a monochrome terminal which only supports two colors +(usually black and white), this function returns zero. (Lisp programs +should avoid use of this function; instead, use the display-independent +@code{display-color-cells}, described in @ref{Display Feature Testing}.) @end defun @defun tty-color-define name number &optional rgb display