aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2022-01-31 19:29:54 +0200
committerEli Zaretskii2022-01-31 19:29:54 +0200
commit31ef751f94fd028d6f1c6bcdf379a8b99769a894 (patch)
tree207a131ba64d8e8b52e53af8d424cd22f10fa5cc /src
parent29bdedf12ffb52d5d1458730c3d3532562336f8d (diff)
downloademacs-31ef751f94fd028d6f1c6bcdf379a8b99769a894.tar.gz
emacs-31ef751f94fd028d6f1c6bcdf379a8b99769a894.zip
Clarify documentation of a "face's font"
* doc/lispref/display.texi (Attribute Functions) (Face Attributes): Clarify that the :font attribute of a face and the font returned by 'face-font' are by default for ASCII characters. (Bug#53664)
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index dff5ae346de..f7ee19195f4 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -4168,9 +4168,9 @@ If the optional argument FRAME is given, report on face FACE in that frame.
4168If FRAME is t, report on the defaults for face FACE (for new frames). 4168If FRAME is t, report on the defaults for face FACE (for new frames).
4169 The font default for a face is either nil, or a list 4169 The font default for a face is either nil, or a list
4170 of the form (bold), (italic) or (bold italic). 4170 of the form (bold), (italic) or (bold italic).
4171If FRAME is omitted or nil, use the selected frame. And, in this case, 4171If FRAME is omitted or nil, use the selected frame.
4172if the optional third argument CHARACTER is given, 4172If FRAME is anything but t, and the optional third argument CHARACTER
4173return the font name used for CHARACTER. */) 4173is given, return the font name used by FACE for CHARACTER on FRAME. */)
4174 (Lisp_Object face, Lisp_Object frame, Lisp_Object character) 4174 (Lisp_Object face, Lisp_Object frame, Lisp_Object character)
4175{ 4175{
4176 if (EQ (frame, Qt)) 4176 if (EQ (frame, Qt))