aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2003-10-26 23:28:04 +0000
committerKenichi Handa2003-10-26 23:28:04 +0000
commita2296bf9d7e5c60e05be837d39c992280ed1bdc4 (patch)
treee2342256eb58b0d5ee1dd9682956b03887a45218
parent800f42ff4a7999f3484caf5acb01bf771a77bc33 (diff)
downloademacs-a2296bf9d7e5c60e05be837d39c992280ed1bdc4.tar.gz
emacs-a2296bf9d7e5c60e05be837d39c992280ed1bdc4.zip
(Fontsets): Fix texinfo usage.
-rw-r--r--lispref/ChangeLog4
-rw-r--r--lispref/display.texi27
2 files changed, 17 insertions, 14 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 7818775f669..df4179e8666 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12003-10-27 Kenichi Handa <handa@m17n.org>
2
3 * display.texi (Fontsets): Fix texinfo usage.
4
12003-10-25 Kenichi Handa <handa@m17n.org> 52003-10-25 Kenichi Handa <handa@m17n.org>
2 6
3 * display.texi (Fontsets): Add description of the function 7 * display.texi (Fontsets): Add description of the function
diff --git a/lispref/display.texi b/lispref/display.texi
index 48628f6b5b7..a478a1cb906 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -2463,26 +2463,25 @@ field.
2463This function modifies the existing fontset @var{name} to 2463This function modifies the existing fontset @var{name} to
2464use the font name @var{fontname} for the character @var{character}. 2464use the font name @var{fontname} for the character @var{character}.
2465 2465
2466If @var{name} is nil, this function modifies the default 2466If @var{name} is @code{nil}, this function modifies the default
2467fontset of which short name is "fontset-default". 2467fontset of which short name is @samp{fontset-default}.
2468 2468
2469@var{character} may be a cons; @samp{(@var{from} 2469@var{character} may be a cons; @code{(@var{from} . @var{to})}, where
2470. @var{to})}, where @var{from} and @var{to} are non-generic 2470@var{from} and @var{to} are non-generic characters. In that case, use
2471characters. In that case, use @var{fontname} for all 2471@var{fontname} for all characters in the range @var{from} and @var{to}
2472characters in the range @var{from} and @var{to} (inclusive). 2472(inclusive).
2473 2473
2474@var{character} may be a charset. In that case, use 2474@var{character} may be a charset. In that case, use
2475@var{fontname} for all character in the charsets. 2475@var{fontname} for all character in the charsets.
2476 2476
2477@var{fontname} may be a cons; @samp{(@var{family} 2477@var{fontname} may be a cons; @code{(@var{family} . @var{registry})},
2478. @var{registry})}, where @var{family} is a family name of a 2478where @var{family} is a family name of a font (possibly including a
2479font (possibly including a foundry name at the head), 2479foundry name at the head), @var{registry} is a registry name of a font
2480@var{registry} is a registry name of a font (possibly 2480(possibly including an encoding name at the tail).
2481including an encoding name at the tail).
2482 2481
2483For instance, this changes the default fontset to use a font 2482For instance, this changes the default fontset to use a font of which
2484of which registry name is "JISX0208.1983" for all characters 2483registry name is @samp{JISX0208.1983} for all characters belonging to
2485belonging to the charset `japanese-jisx0208'. 2484the charset @code{japanese-jisx0208}.
2486 2485
2487@example 2486@example
2488(set-fontset-font nil 'japanese-jisx0208 '(nil . "JISX0208.1983")) 2487(set-fontset-font nil 'japanese-jisx0208 '(nil . "JISX0208.1983"))