mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 13:10:57 -08:00
(syms_of_font) <font-weight-table, font-slant-table, font-width-table>:
Fix typos in docstrings.
This commit is contained in:
parent
7a18e381ce
commit
17ab8f5d83
2 changed files with 11 additions and 6 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2008-06-13 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* font.c (syms_of_font) <font-weight-table, font-slant-table>:
|
||||
<font-width-table>: Fix typos in docstrings.
|
||||
|
||||
2008-06-13 Daniel Engeler <engeler@gmail.com>
|
||||
|
||||
These changes add serial port access.
|
||||
|
|
|
|||
12
src/font.c
12
src/font.c
|
|
@ -1569,7 +1569,7 @@ font_parse_fcname (name, font)
|
|||
ASET (font, FONT_FAMILY_INDEX, family);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -4550,7 +4550,7 @@ build_style_table (entry, nelement)
|
|||
{
|
||||
int i, j;
|
||||
Lisp_Object table, elt;
|
||||
|
||||
|
||||
table = Fmake_vector (make_number (nelement), Qnil);
|
||||
for (i = 0; i < nelement; i++)
|
||||
{
|
||||
|
|
@ -4558,7 +4558,7 @@ build_style_table (entry, nelement)
|
|||
elt = Fmake_vector (make_number (j + 1), Qnil);
|
||||
ASET (elt, 0, make_number (entry[i].numeric));
|
||||
for (j = 0; entry[i].names[j]; j++)
|
||||
ASET (elt, j + 1, intern (entry[i].names[j]));
|
||||
ASET (elt, j + 1, intern (entry[i].names[j]));
|
||||
ASET (table, i, elt);
|
||||
}
|
||||
return table;
|
||||
|
|
@ -4737,17 +4737,17 @@ gets the repertory information by an opened font and ENCODING. */);
|
|||
doc: /* Vector of valid font weight values.
|
||||
Each element has the form:
|
||||
[NUMERIC-VALUE SYMBOLIC-NAME ALIAS-NAME ...]
|
||||
NUMERIC-VALUE is an integer, and SYMBOLIC-NAME and ALIAS-NAME are symobls. */);
|
||||
NUMERIC-VALUE is an integer, and SYMBOLIC-NAME and ALIAS-NAME are symbols. */);
|
||||
Vfont_weight_table = BUILD_STYLE_TABLE (weight_table);
|
||||
|
||||
DEFVAR_LISP_NOPRO ("font-slant-table", &Vfont_slant_table,
|
||||
doc: /* Vector of font slant symbols vs the corresponding numeric values.
|
||||
See `font-weight_table' for the format of the vector. */);
|
||||
See `font-weight-table' for the format of the vector. */);
|
||||
Vfont_slant_table = BUILD_STYLE_TABLE (slant_table);
|
||||
|
||||
DEFVAR_LISP_NOPRO ("font-width-table", &Vfont_width_table,
|
||||
doc: /* Alist of font width symbols vs the corresponding numeric values.
|
||||
See `font-weight_table' for the format of the vector. */);
|
||||
See `font-weight-table' for the format of the vector. */);
|
||||
Vfont_width_table = BUILD_STYLE_TABLE (width_table);
|
||||
|
||||
staticpro (&font_style_table);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue