From: Lars Ingebrigtsen Date: Fri, 1 Nov 2019 17:27:17 +0000 (+0100) Subject: Fix documentation of set-face-font in the manual X-Git-Tag: emacs-27.0.90~782 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eda98211e31ed969823c1048b3cde635e08eebe5;p=emacs.git 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). --- 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