summaryrefslogtreecommitdiff
path: root/lispref/frames.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-02-03 11:21:01 +0000
committerEli Zaretskii <eliz@gnu.org>2002-02-03 11:21:01 +0000
commit47edc1f71812081d29b099a966c60293e8aa2c55 (patch)
tree1f94299e25ec6823db9232a53627589de1bd7c16 /lispref/frames.texi
parentbd3567fac9b5c904a80961752a219232f65e3f28 (diff)
downloademacs-47edc1f71812081d29b099a966c60293e8aa2c55.tar.gz
(Text Terminal Colors): Remove the documentation of tty-display-color-p.
Suggest to avoid the use of tty-display-color-cells.
Diffstat (limited to 'lispref/frames.texi')
-rw-r--r--lispref/frames.texi11
1 files changed, 4 insertions, 7 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index adae8efe732..69f39ac409c 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -1575,15 +1575,12 @@ will specify which terminal to operate on (the default being the
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