diff options
| author | Richard M. Stallman | 2005-01-01 14:17:32 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-01-01 14:17:32 +0000 |
| commit | 6057489e9cf0f44d59fa596d988e1005ccd7d25b (patch) | |
| tree | 1aba1ee2d3c5e56be89cce38eee6e8749cdfff29 | |
| parent | 82dc617bfb55672c0581e5656beeb3e91036409a (diff) | |
| download | emacs-6057489e9cf0f44d59fa596d988e1005ccd7d25b.tar.gz emacs-6057489e9cf0f44d59fa596d988e1005ccd7d25b.zip | |
(Face Attributes): Describe hex color specs.
| -rw-r--r-- | lispref/display.texi | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lispref/display.texi b/lispref/display.texi index 01ba338621b..b4254197e50 100644 --- a/lispref/display.texi +++ b/lispref/display.texi | |||
| @@ -1636,7 +1636,7 @@ face name a special meaning in one frame if you wish. | |||
| 1636 | * Defining Faces:: How to define a face with @code{defface}. | 1636 | * Defining Faces:: How to define a face with @code{defface}. |
| 1637 | * Face Attributes:: What is in a face? | 1637 | * Face Attributes:: What is in a face? |
| 1638 | * Attribute Functions:: Functions to examine and set face attributes. | 1638 | * Attribute Functions:: Functions to examine and set face attributes. |
| 1639 | * Merging Faces:: How Emacs combines the faces specified for a character. | 1639 | * Displaying Faces:: How Emacs combines the faces specified for a character. |
| 1640 | * Font Selection:: Finding the best available font for a face. | 1640 | * Font Selection:: Finding the best available font for a face. |
| 1641 | * Face Functions:: How to define and examine faces. | 1641 | * Face Functions:: How to define and examine faces. |
| 1642 | * Auto Faces:: Hook for automatic face assignment. | 1642 | * Auto Faces:: Hook for automatic face assignment. |
| @@ -1941,10 +1941,14 @@ On a text-only terminal, slanted text is displayed as half-bright, if | |||
| 1941 | the terminal supports the feature. | 1941 | the terminal supports the feature. |
| 1942 | 1942 | ||
| 1943 | @item :foreground | 1943 | @item :foreground |
| 1944 | Foreground color, a string. | 1944 | Foreground color, a string. The value can be a system-defined color |
| 1945 | name, or a hexadecimal color specification of the form | ||
| 1946 | @samp{#@var{rr}@var{gg}@var{bb}}. (@samp{#000000} is black, | ||
| 1947 | @samp{#ff0000} is red, @samp{#00ff00} is green, @samp{#0000ff} is | ||
| 1948 | blue, and @samp{#ffffff} is white.) | ||
| 1945 | 1949 | ||
| 1946 | @item :background | 1950 | @item :background |
| 1947 | Background color, a string. | 1951 | Background color, a string, like the foreground color. |
| 1948 | 1952 | ||
| 1949 | @item :inverse-video | 1953 | @item :inverse-video |
| 1950 | Whether or not characters should be displayed in inverse video. The | 1954 | Whether or not characters should be displayed in inverse video. The |
| @@ -2265,8 +2269,8 @@ This function returns the @code{:underline} attribute of face @var{face}. | |||
| 2265 | This function returns the @code{:inverse-video} attribute of face @var{face}. | 2269 | This function returns the @code{:inverse-video} attribute of face @var{face}. |
| 2266 | @end defun | 2270 | @end defun |
| 2267 | 2271 | ||
| 2268 | @node Merging Faces | 2272 | @node Displaying Faces |
| 2269 | @subsection Merging Faces for Display | 2273 | @subsection Displaying Faces |
| 2270 | 2274 | ||
| 2271 | Here are the ways to specify which faces to use for display of text: | 2275 | Here are the ways to specify which faces to use for display of text: |
| 2272 | 2276 | ||