Next: , Previous: Width, Up: Display


38.11 Faces

A face is a named collection of graphical attributes: font family, foreground color, background color, optional underlining, and many others. Faces are used in Emacs to control the style of display of particular parts of the text or the frame.

Each face has its own face number, which distinguishes faces at low levels within Emacs. However, for most purposes, you refer to faces in Lisp programs by their names.

— Function: facep object

This function returns t if object is a face name symbol (or if it is a vector of the kind used internally to record face data). It returns nil otherwise.

Each face name is meaningful for all frames, and by default it has the same meaning in all frames. But you can arrange to give a particular face name a special meaning in one frame if you wish.