summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-12-10 19:19:40 +0200
committerEli Zaretskii <eliz@gnu.org>2017-12-10 19:19:40 +0200
commitd23158777de46dd23444d00ffa05f46a3597c0e3 (patch)
tree6241496edd8a751c9a1a9e6d3da14ab3b3ea02f8 /doc
parenta829cb8c8bc2bd05abf2e572be29eb53b28a9cf3 (diff)
downloademacs-d23158777de46dd23444d00ffa05f46a3597c0e3.tar.gz
Fix fontset documentation inconsistencies for bug#29630
* doc/lispref/display.texi (Face Attributes): Don't document :family as accepting a fontset. Document that :font accepts a fontset. * lisp/faces.el (set-face-attribute): Doc fix.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/display.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index a505639f514..7af8d9efb7c 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2241,10 +2241,10 @@ attribute is ignored.
@table @code
@item :family
-Font family or fontset (a string). @xref{Fonts,,, emacs, The GNU
+Font family name (a string). @xref{Fonts,,, emacs, The GNU
Emacs Manual}, for more information about font families. The function
@code{font-family-list} (see below) returns a list of available family
-names. @xref{Fontsets}, for information about fontsets.
+names.
@item :foundry
The name of the @dfn{font foundry} for the font family specified by
@@ -2404,9 +2404,10 @@ Normally you do not need to set the stipple attribute, because it is
used automatically to handle certain shades of gray.
@item :font
-The font used to display the face. Its value should be a font object.
-@xref{Low-Level Font}, for information about font objects, font specs,
-and font entities.
+The font used to display the face. Its value should be a font object
+or a fontset. @xref{Low-Level Font}, for information about font
+objects, font specs, and font entities. @xref{Fontsets}, for
+information about fontsets.
When specifying this attribute using @code{set-face-attribute}
(@pxref{Attribute Functions}), you may also supply a font spec, a font