aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorEli Zaretskii2002-01-25 14:15:02 +0000
committerEli Zaretskii2002-01-25 14:15:02 +0000
commite8384e86112b25f79cfc19f3da0ad48c2b5746c8 (patch)
tree56a990dc84b9caeb2532f6d20ee1724a0240b443 /lispref
parent0011f34671f91aa8c225bb294afbabd28991d09c (diff)
downloademacs-e8384e86112b25f79cfc19f3da0ad48c2b5746c8.tar.gz
emacs-e8384e86112b25f79cfc19f3da0ad48c2b5746c8.zip
(Text Terminal Colors): Document tty-display-color-p.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/frames.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index af03160d992..adae8efe732 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -1575,9 +1575,15 @@ will specify which terminal to operate on (the default being the
1575selected frame's terminal; @pxref{Input Focus}). At present, though, 1575selected frame's terminal; @pxref{Input Focus}). At present, though,
1576the @var{display} argument has no effect. 1576the @var{display} argument has no effect.
1577 1577
1578@defun tty-display-color-p &optional display
1579This function returns non-@code{nil} if the terminal on @var{display}
1580supports colors.
1581@end defun
1582
1578@defun tty-display-color-cells &optional display 1583@defun tty-display-color-cells &optional display
1579This function returns the number of distinct colors supported for 1584This function returns the number of distinct colors supported for
1580@var{display}. 1585@var{display}. For a monochrome terminal which only supports two
1586colors (usually black and white), this function returns zero.
1581@end defun 1587@end defun
1582 1588
1583@defun tty-color-define name number &optional rgb display 1589@defun tty-color-define name number &optional rgb display