aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2002-01-14 13:55:40 +0000
committerEli Zaretskii2002-01-14 13:55:40 +0000
commit7b32356beed60bb402e5ae659052a925d6782853 (patch)
tree37d403388a7e854f3b8b7ad0588476e594d9833b
parent89c8e7525dacfcea997a464c77cefc0c44d5506d (diff)
downloademacs-7b32356beed60bb402e5ae659052a925d6782853.tar.gz
emacs-7b32356beed60bb402e5ae659052a925d6782853.zip
(Window Frame Parameters): Document the new tty-color-mode parameter.
-rw-r--r--lispref/frames.texi21
1 files changed, 18 insertions, 3 deletions
diff --git a/lispref/frames.texi b/lispref/frames.texi
index c327817070d..345f23a3d85 100644
--- a/lispref/frames.texi
+++ b/lispref/frames.texi
@@ -293,7 +293,8 @@ Just what parameters a frame has depends on what display mechanism it
293uses. Here is a table of the parameters that have special meanings in a 293uses. Here is a table of the parameters that have special meanings in a
294window frame; of these, @code{name}, @code{title}, @code{height}, 294window frame; of these, @code{name}, @code{title}, @code{height},
295@code{width}, @code{buffer-list} and @code{buffer-predicate} provide 295@code{width}, @code{buffer-list} and @code{buffer-predicate} provide
296meaningful information in terminal frames. 296meaningful information in terminal frames, and @code{tty-color-mode}
297is meaningful @emph{only} in terminal frames.
297 298
298@table @code 299@table @code
299@item display 300@item display
@@ -478,13 +479,27 @@ The color for the mouse pointer. Changing this parameter is equivalent
478to changing the background color of face @code{mouse}. 479to changing the background color of face @code{mouse}.
479 480
480@item cursor-color 481@item cursor-color
481The color for the cursor that shows point. Changing this parameter is 482The color for the cursor that shows point. Changing this parameter is
482equivalent to changing the background color of face @code{cursor}. 483equivalent to changing the background color of face @code{cursor}.
483 484
484@item border-color 485@item border-color
485The color for the border of the frame. Changing this parameter is 486The color for the border of the frame. Changing this parameter is
486equivalent to changing the background color of face @code{border}. 487equivalent to changing the background color of face @code{border}.
487 488
489@item tty-color-mode
490@cindex standard colors for character terminals
491This parameter overrides the terminal's color support as given by the
492system's terminal capabilities database in that this parameter's value
493specifies the color mode to use in terminal frames. The value can be
494either a symbol or a number. A number specifies the number of colors
495to use (and, indirectly, what commands to issue to produce each
496color). For example, @code{(tty-color-mode . 8)} forces Emacs to use
497the ANSI escape sequences for 8 standard text colors; and a value of
498-1 means Emacs should turn off color support. If the parameter's
499value is a symbol, that symbol is looked up in the alist
500@code{tty-color-mode-alist}, and if found, the associated number is
501used as the color support mode.
502
488@item scroll-bar-foreground 503@item scroll-bar-foreground
489If non-@code{nil}, the color for the foreground of scroll bars. 504If non-@code{nil}, the color for the foreground of scroll bars.
490Changing this parameter is equivalent to setting the foreground color of 505Changing this parameter is equivalent to setting the foreground color of