comparison man/lispref/faces.texi @ 5378:4f0a1f4cc111

Improve support for min-colors req in `defface'. lisp/faces.el (face-spec-set-match-display): Protect against `display-color-cells' returning nil. Delete unreferenced let-binding of `min-colors'. man/lispref/customize.texi (Face Definitions): New node. (Customization): Add entry to menu. (Variable Definitions): Add cross-ref for `defface'. (Customization Types): Fixup Previous link. man/lispref/faces.texi (Faces): Clarify that built-in properties of faces are computed at runtime.
author Stephen J. Turnbull <stephen@xemacs.org>
date Sat, 19 Mar 2011 22:13:14 +0900
parents b6e59ea11533
children 9fae6227ede5
comparison
equal deleted inserted replaced
5377:eac2e6bd5b2c 5378:4f0a1f4cc111
24 display of text on the screen. Every face has a name, which is a symbol 24 display of text on the screen. Every face has a name, which is a symbol
25 such as @code{default} or @code{modeline}. 25 such as @code{default} or @code{modeline}.
26 26
27 Each built-in property of a face is controlled using a specifier, 27 Each built-in property of a face is controlled using a specifier,
28 which allows it to have separate values in particular buffers, frames, 28 which allows it to have separate values in particular buffers, frames,
29 windows, and devices and to further vary according to device type 29 windows, and devices. These properties are computed when the face is
30 (X or TTY), device class (color, mono, or grayscale) and number of 30 instantiated, allowing them to vary according to properties of the
31 displayable colors (min-colors). 31 display device, such as type (X or TTY), visual class (color, mono, or
32 @xref{Specifiers}, for more information. 32 grayscale), and number of colors displayable on the device.
33 @xref{Specifiers}, for more information on specifiers.
34 @xref{Face Definitions}, for defining faces whose properties vary
35 according to their runtime environments.
33 36
34 The face named @code{default} is used for ordinary text. The face named 37 The face named @code{default} is used for ordinary text. The face named
35 @code{modeline} is used for displaying the modeline. The face named 38 @code{modeline} is used for displaying the modeline. The face named
36 @code{highlight} is used for highlighted extents (@pxref{Extents}). The 39 @code{highlight} is used for highlighted extents (@pxref{Extents}). The
37 faces named @code{left-margin} and @code{right-margin} are used for the 40 faces named @code{left-margin} and @code{right-margin} are used for the