diff options
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/display.texi | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/lispref/display.texi b/lispref/display.texi index 89e9998094c..63ee6d720f7 100644 --- a/lispref/display.texi +++ b/lispref/display.texi | |||
| @@ -1623,6 +1623,10 @@ What kinds of colors the frame supports---either @code{color}, | |||
| 1623 | @item background | 1623 | @item background |
| 1624 | The kind of background---either @code{light} or @code{dark}. | 1624 | The kind of background---either @code{light} or @code{dark}. |
| 1625 | 1625 | ||
| 1626 | @item min-colors | ||
| 1627 | An integer that represents the minimum number of colors the frame should | ||
| 1628 | support, it is compared with the result of @code{display-color-cells}. | ||
| 1629 | |||
| 1626 | @item supports | 1630 | @item supports |
| 1627 | Whether or not the frame can display the face attributes given in | 1631 | Whether or not the frame can display the face attributes given in |
| 1628 | @var{value}@dots{} (@pxref{Face Attributes}). See the documentation | 1632 | @var{value}@dots{} (@pxref{Face Attributes}). See the documentation |
| @@ -1644,17 +1648,20 @@ frame must match one of the @var{value}s specified for it in | |||
| 1644 | 1648 | ||
| 1645 | @example | 1649 | @example |
| 1646 | @group | 1650 | @group |
| 1647 | (defface region | 1651 | '((((class color) (min-colors 88) (background dark)) |
| 1648 | `((((type tty) (class color)) | 1652 | :background "blue3") |
| 1649 | (:background "blue" :foreground "white")) | ||
| 1650 | @end group | 1653 | @end group |
| 1654 | (((class color) (min-colors 88) (background light)) | ||
| 1655 | :background "lightgoldenrod2") | ||
| 1656 | (((class color) (min-colors 16) (background dark)) | ||
| 1657 | :background "blue3") | ||
| 1658 | (((class color) (min-colors 16) (background light)) | ||
| 1659 | :background "lightgoldenrod2") | ||
| 1660 | (((class color) (min-colors 8)) | ||
| 1661 | :background "blue" :foreground "white") | ||
| 1651 | (((type tty) (class mono)) | 1662 | (((type tty) (class mono)) |
| 1652 | (:inverse-video t)) | 1663 | :inverse-video t) |
| 1653 | (((class color) (background dark)) | 1664 | (t :background "gray")) |
| 1654 | (:background "blue")) | ||
| 1655 | (((class color) (background light)) | ||
| 1656 | (:background "lightblue")) | ||
| 1657 | (t (:background "gray"))) | ||
| 1658 | @group | 1665 | @group |
| 1659 | "Basic face for highlighting the region." | 1666 | "Basic face for highlighting the region." |
| 1660 | :group 'basic-faces) | 1667 | :group 'basic-faces) |