diff options
| author | Eli Zaretskii | 2002-01-14 13:55:40 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-01-14 13:55:40 +0000 |
| commit | 7b32356beed60bb402e5ae659052a925d6782853 (patch) | |
| tree | 37d403388a7e854f3b8b7ad0588476e594d9833b | |
| parent | 89c8e7525dacfcea997a464c77cefc0c44d5506d (diff) | |
| download | emacs-7b32356beed60bb402e5ae659052a925d6782853.tar.gz emacs-7b32356beed60bb402e5ae659052a925d6782853.zip | |
(Window Frame Parameters): Document the new tty-color-mode parameter.
| -rw-r--r-- | lispref/frames.texi | 21 |
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 | |||
| 293 | uses. Here is a table of the parameters that have special meanings in a | 293 | uses. Here is a table of the parameters that have special meanings in a |
| 294 | window frame; of these, @code{name}, @code{title}, @code{height}, | 294 | window 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 |
| 296 | meaningful information in terminal frames. | 296 | meaningful information in terminal frames, and @code{tty-color-mode} |
| 297 | is 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 | |||
| 478 | to changing the background color of face @code{mouse}. | 479 | to changing the background color of face @code{mouse}. |
| 479 | 480 | ||
| 480 | @item cursor-color | 481 | @item cursor-color |
| 481 | The color for the cursor that shows point. Changing this parameter is | 482 | The color for the cursor that shows point. Changing this parameter is |
| 482 | equivalent to changing the background color of face @code{cursor}. | 483 | equivalent to changing the background color of face @code{cursor}. |
| 483 | 484 | ||
| 484 | @item border-color | 485 | @item border-color |
| 485 | The color for the border of the frame. Changing this parameter is | 486 | The color for the border of the frame. Changing this parameter is |
| 486 | equivalent to changing the background color of face @code{border}. | 487 | equivalent to changing the background color of face @code{border}. |
| 487 | 488 | ||
| 489 | @item tty-color-mode | ||
| 490 | @cindex standard colors for character terminals | ||
| 491 | This parameter overrides the terminal's color support as given by the | ||
| 492 | system's terminal capabilities database in that this parameter's value | ||
| 493 | specifies the color mode to use in terminal frames. The value can be | ||
| 494 | either a symbol or a number. A number specifies the number of colors | ||
| 495 | to use (and, indirectly, what commands to issue to produce each | ||
| 496 | color). For example, @code{(tty-color-mode . 8)} forces Emacs to use | ||
| 497 | the 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 | ||
| 499 | value is a symbol, that symbol is looked up in the alist | ||
| 500 | @code{tty-color-mode-alist}, and if found, the associated number is | ||
| 501 | used as the color support mode. | ||
| 502 | |||
| 488 | @item scroll-bar-foreground | 503 | @item scroll-bar-foreground |
| 489 | If non-@code{nil}, the color for the foreground of scroll bars. | 504 | If non-@code{nil}, the color for the foreground of scroll bars. |
| 490 | Changing this parameter is equivalent to setting the foreground color of | 505 | Changing this parameter is equivalent to setting the foreground color of |