emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/frames.texi


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lispref/frames.texi
Date: Fri, 25 Jan 2002 08:53:56 -0500

Index: emacs/lispref/frames.texi
diff -c emacs/lispref/frames.texi:1.52 emacs/lispref/frames.texi:1.53
*** emacs/lispref/frames.texi:1.52      Mon Jan 14 08:55:40 2002
--- emacs/lispref/frames.texi   Fri Jan 25 08:53:56 2002
***************
*** 1551,1563 ****
  @cindex colors on text-only terminals
  
    Emacs can display color on text-only terminals, starting with version
! 21.  These terminals support only a small number of colors, and the
! computer uses small integers to select colors on the terminal.  This
  means that the computer cannot reliably tell what the selected color
  looks like; instead, you have to inform your application which small
  integers correspond to which colors.  However, Emacs does know the
  standard set of colors and will try to use them automatically.
  
  @cindex rgb value
    Several of these functions use or return @dfn{rgb values}.  An rgb
  value is a list of three integers, which give the amount of red, the
--- 1551,1566 ----
  @cindex colors on text-only terminals
  
    Emacs can display color on text-only terminals, starting with version
! 21.  These terminals usually support only a small number of colors, and
! the computer uses small integers to select colors on the terminal.  This
  means that the computer cannot reliably tell what the selected color
  looks like; instead, you have to inform your application which small
  integers correspond to which colors.  However, Emacs does know the
  standard set of colors and will try to use them automatically.
  
+   The functions described in this section control how terminal colors
+ are used by Emacs.
+ 
  @cindex rgb value
    Several of these functions use or return @dfn{rgb values}.  An rgb
  value is a list of three integers, which give the amount of red, the
***************
*** 1571,1576 ****
--- 1574,1584 ----
  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-cells &optional display
+ This function returns the number of distinct colors supported for
+ @var{display}.
+ @end defun
  
  @defun tty-color-define name number &optional rgb display
  @tindex tty-color-define



reply via email to

[Prev in Thread] Current Thread [Next in Thread]