Here are all the ways to specify which face to use for display of text:
faceproperty; if so, it is displayed with that face. See section Properties with Special Meanings. If the character has a
mouse-faceproperty, that is used instead of the
faceproperty when the mouse is "near enough" to the character.
mouse-faceproperties too; they apply to all the text covered by the overlay.
If these various sources together specify more than one face for a particular character, Emacs merges the attributes of the various faces specified. The attributes of the faces of special glyphs come first; then comes the face for region highlighting, if appropriate; then come attributes of faces from overlays, followed by those from text properties, and last the default face.
When multiple overlays cover one character, an overlay with higher priority overrides those with lower priority. See section Overlays.
If an attribute such as the font or a color is not specified in any of the above ways, the frame's own font or color is used.
Go to the first, previous, next, last section, table of contents.