[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master eda9821: Fix documentation of set-face-font in the manual
From: |
Lars Ingebrigtsen |
Subject: |
master eda9821: Fix documentation of set-face-font in the manual |
Date: |
Fri, 1 Nov 2019 13:27:25 -0400 (EDT) |
branch: master
commit eda98211e31ed969823c1048b3cde635e08eebe5
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Fix documentation of set-face-font in the manual
* doc/lispref/display.texi (Attribute Functions): Describe more
precisely what set-face-font does (bug#14647).
---
doc/lispref/display.texi | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 492104d..29abc0a 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2833,7 +2833,11 @@ This sets the @code{:stipple} attribute of @var{face} to
@end deffn
@deffn Command set-face-font face font &optional frame
-This sets the @code{:font} attribute of @var{face} to @var{font}.
+Change the font-related attributes of @var{face} to those of
+@var{font} (a string). This sets the attributes @code{:family},
+@code{:foundry}, @code{:width}, @code{:height}, @code{:weight}, and
+@code{:slant}. If @var{frame} is non-@code{nil}, only change the
+attributes on the specified frame.
@end deffn
@defun set-face-bold face bold-p &optional frame
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master eda9821: Fix documentation of set-face-font in the manual,
Lars Ingebrigtsen <=