From eda98211e31ed969823c1048b3cde635e08eebe5 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 1 Nov 2019 18:27:17 +0100 Subject: [PATCH] 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 492104ddf07..29abc0a9f27 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 -- 2.39.5