diff lispref/frames.texi @ 42961:3bd7e8f774e5

(Text Terminal Colors): Document tty-display-color-p.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 25 Jan 2002 14:15:02 +0000
parents 6a35c3566bfd
children abc5c5ca5655
line wrap: on
line diff
--- 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