]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix documentation of set-face-font in the manual
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 1 Nov 2019 17:27:17 +0000 (18:27 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 1 Nov 2019 17:27:17 +0000 (18:27 +0100)
* doc/lispref/display.texi (Attribute Functions): Describe more
precisely what set-face-font does (bug#14647).

doc/lispref/display.texi

index 492104ddf0748d81fd4bc06a1290da63d2cf580e..29abc0a9f2779c6f50c70554dea50456dd5924e0 100644 (file)
@@ -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