Add an example to the display-supports-face-attributes-p doc string
* src/xfaces.c (Fdisplay_supports_face_attributes_p): Add an example.
This commit is contained in:
parent
f921f189ee
commit
cf9d85c1ea
1 changed files with 4 additions and 0 deletions
|
@ -5373,6 +5373,10 @@ DEFUN ("display-supports-face-attributes-p",
|
|||
The optional argument DISPLAY can be a display name, a frame, or
|
||||
nil (meaning the selected frame's display).
|
||||
|
||||
For instance, to check whether the display supports underlining:
|
||||
|
||||
(display-supports-face-attributes-p \\='(:underline t))
|
||||
|
||||
The definition of `supported' is somewhat heuristic, but basically means
|
||||
that a face containing all the attributes in ATTRIBUTES, when merged
|
||||
with the default face for display, can be represented in a way that's
|
||||
|
|
Loading…
Add table
Reference in a new issue