summaryrefslogtreecommitdiff
path: root/src/fontset.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-06-14 18:13:06 +0300
committerEli Zaretskii <eliz@gnu.org>2015-06-14 18:13:06 +0300
commit2f09f8952489b5c90488faf66f71a4252aed5c2c (patch)
tree1207f6a94b52e729e28001391eac613def8d04f9 /src/fontset.c
parentfce59d43e4d6890c1fb694a593dad828e3e3925d (diff)
downloademacs-2f09f8952489b5c90488faf66f71a4252aed5c2c.tar.gz
Another improvement of documentation of set-fontset-font
* doc/lispref/display.texi (Fontsets): Say explicitly that CHARACTER can be a single codepoint. * src/fontset.c (Fset_fontset_font): Doc fix.
Diffstat (limited to 'src/fontset.c')
-rw-r--r--src/fontset.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fontset.c b/src/fontset.c
index 5fc92feb130..f1a3e597409 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1411,9 +1411,11 @@ Modify fontset NAME to use FONT-SPEC for TARGET characters.
NAME is a fontset name string, nil for the fontset of FRAME, or t for
the default fontset.
-TARGET may be a cons; (FROM . TO), where FROM and TO are characters.
-In that case, use FONT-SPEC for all characters in the range FROM and
-TO (inclusive).
+TARGET may be a single character to use FONT-SPEC for.
+
+Target may be a cons (FROM . TO), where FROM and TO are characters.
+In that case, use FONT-SPEC for all characters in the range FROM
+and TO (inclusive).
TARGET may be a script name symbol. In that case, use FONT-SPEC for
all characters that belong to the script.