comparison etc/NEWS @ 27092:60f5b0f50db9

Document the unified frame-independent support for colors and faces.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 02 Jan 2000 14:21:54 +0000
parents 40c18bc759e9
children 6500fd0a7d8e
comparison
equal deleted inserted replaced
27091:fc4fd4d41cc7 27092:60f5b0f50db9
1604 for compatibility with previous Emacs versions. 1604 for compatibility with previous Emacs versions.
1605 1605
1606 +++ 1606 +++
1607 ** Support functions for colors on text-only terminals. 1607 ** Support functions for colors on text-only terminals.
1608 1608
1609 The function `face-register-tty-color' can be used to define colors 1609 The function `tty-color-define' can be used to define colors for use
1610 for use on TTY frames. It maps a color name to a color number on the 1610 on TTY and MSDOS frames. It maps a color name to a color number on
1611 terminal. Emacs defines a couple of default color mappings by 1611 the terminal. Emacs defines a couple of common color mappings by
1612 default. You can get defined colors with a call to 1612 default. You can get defined colors with a call to
1613 `tty-defined-colors'. The function `face-clear-tty-colors' can be 1613 `defined-colors'. The function `tty-color-clear' can be
1614 used to clear the mapping table. 1614 used to clear the mapping table.
1615
1616 ** Unified support for colors independent of frame type.
1617
1618 The new functions `defined-colors', `color-defined-p', `color-values',
1619 and `display-color-p' work for any type of frame. On frames whose
1620 type is neither x nor w32, these functions transparently map X-style
1621 color specifications to the closest colors supported by the frame
1622 display. Lisp programs should use these new functions instead of the
1623 old `x-defined-colors', `x-color-defined-p', `x-color-values', and
1624 `x-display-color-p'. (The old function names are still available for
1625 compatibility; they are now aliases of the new names.) Lisp programs
1626 should no more look at the value of the variable window-system to
1627 modify their color-related behavior.
1628
1629 The primitives `color-gray-p' and `color-supported-p' also work for
1630 any frame type.
1615 1631
1616 +++ 1632 +++
1617 ** The minibuffer prompt is now actually inserted in the minibuffer. 1633 ** The minibuffer prompt is now actually inserted in the minibuffer.
1618 1634
1619 This makes it possible to scroll through the prompt, if you want to. 1635 This makes it possible to scroll through the prompt, if you want to.