Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8004cc7b
Commit
8004cc7b
authored
May 25, 2002
by
Dave Love
Browse files
(Ffontset_info): Doc fix. Return charset names, not
ids. (font-encoding-alist): Doc fix.
parent
f0064e1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
src/ChangeLog
src/ChangeLog
+6
-0
src/fontset.c
src/fontset.c
+7
-9
No files found.
src/ChangeLog
View file @
8004cc7b
2002-05-25 Dave Love <fx@gnu.org>
* fontset.c (Ffontset_info): Doc fix. Return charset names, not
ids.
(font-encoding-alist): Doc fix.
2002-05-24 Dave Love <fx@gnu.org>
* term.c (costs_set): Declare static, non-initialized for pcc.
...
...
src/fontset.c
View file @
8004cc7b
...
...
@@ -1109,7 +1109,7 @@ where,
CHARSET-OR-RANGE is a charset or a cons of two characters specifying
the range of characters.
FONT-SPEC is a fontname pattern string or a vector
[ FAMILY WEIGHT SLANT ADSTYLE REGISTRY ].
[ FAMILY WEIGHT SLANT
WIDTH
ADSTYLE REGISTRY ].
See the documentation of `new-fontset' for the meanings those elements.
OPENEDs are names of fonts actually opened.
If the ASCII font is not yet opened, SIZE and HEIGHT are 0.
...
...
@@ -1172,7 +1172,10 @@ If FRAME is omitted, it defaults to the currently selected frame. */)
CONSP
(
tail
);
tail
=
XCDR
(
tail
))
{
elt
=
XCAR
(
tail
);
elt
=
Fcons
(
XCAR
(
elt
),
Fcons
(
XCDR
(
elt
),
Qnil
));
elt
=
Fcons
((
INTEGERP
(
XCAR
(
elt
))
?
CHARSET_NAME
(
CHARSET_FROM_ID
(
XCAR
(
elt
)))
:
XCAR
(
elt
)),
Fcons
(
XCDR
(
elt
),
Qnil
));
XSETCDR
(
XCAR
(
val
),
Fcons
(
elt
,
Qnil
));
XSETCAR
(
val
,
XCDR
(
XCAR
(
val
)));
}
...
...
@@ -1291,13 +1294,8 @@ syms_of_fontset ()
DEFVAR_LISP
(
"font-encoding-alist"
,
&
Vfont_encoding_alist
,
doc:
/* Alist of fontname patterns vs corresponding encoding info.
Each element looks like (REGEXP . ENCODING-INFO),
where ENCODING-INFO is an alist of CHARSET vs ENCODING.
ENCODING is one of the following integer values:
0: code points 0x20..0x7F or 0x2020..0x7F7F are used,
1: code points 0xA0..0xFF or 0xA0A0..0xFFFF are used,
2: code points 0x20A0..0x7FFF are used,
3: code points 0xA020..0xFF7F are used. */
);
Each element looks like (REGEXP . CHARSET), where CHARSET is an
Emacs charset symbol. */
);
Vfont_encoding_alist
=
Qnil
;
DEFVAR_LISP
(
"use-default-ascent"
,
&
Vuse_default_ascent
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment