diff options
| author | Tom Tromey | 2018-07-06 21:56:17 -0600 |
|---|---|---|
| committer | Tom Tromey | 2018-07-12 22:12:27 -0600 |
| commit | 42fe787b0f26c2df682b2797407a669ef8522ccb (patch) | |
| tree | e944fe465e2b65703a8361bc82647faf4f7907f1 /src/fontset.c | |
| parent | 01dbf2a347944497fdcf2ec156f4605020d7ba2a (diff) | |
| download | emacs-42fe787b0f26c2df682b2797407a669ef8522ccb.tar.gz emacs-42fe787b0f26c2df682b2797407a669ef8522ccb.zip | |
Rename integerp->fixnum, etc, in preparation for bignums
* src/json.c, src/keyboard.c, src/keyboard.h, src/keymap.c,
src/kqueue.c, src/lcms.c, src/lisp.h, src/lread.c, src/macros.c,
src/marker.c, src/menu.c, src/minibuf.c, src/msdos.c, src/print.c,
src/process.c, src/profiler.c, src/search.c, src/sound.c,
src/syntax.c, src/sysdep.c, src/term.c, src/terminal.c,
src/textprop.c, src/undo.c, src/w16select.c, src/w32.c,
src/w32console.c, src/w32cygwinx.c, src/w32fns.c, src/w32font.c,
src/w32inevt.c, src/w32proc.c, src/w32select.c, src/w32term.c,
src/w32uniscribe.c, src/widget.c, src/window.c, src/xdisp.c,
src/xfaces.c, src/xfns.c, src/xfont.c, src/xftfont.c, src/xmenu.c,
src/xrdb.c, src/xselect.c, src/xterm.c, src/xwidget.c: Rename
INTEGERP->FIXNUM, make_number->make_fixnum, CHECK_NUMBER->CHECK_FIXNUM,
make_natnum->make_fixed_natum, NUMBERP->FIXED_OR_FLOATP,
NATNUMP->FIXNATP, CHECK_NATNUM->CHECK_FIXNAT.
Diffstat (limited to 'src/fontset.c')
| -rw-r--r-- | src/fontset.c | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/src/fontset.c b/src/fontset.c index 6ca64068717..d4a2e4ea5b8 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -266,7 +266,7 @@ set_fontset_fallback (Lisp_Object fontset, Lisp_Object fallback) | |||
| 266 | 266 | ||
| 267 | #define RFONT_DEF_FACE(rfont_def) AREF (rfont_def, 0) | 267 | #define RFONT_DEF_FACE(rfont_def) AREF (rfont_def, 0) |
| 268 | #define RFONT_DEF_SET_FACE(rfont_def, face_id) \ | 268 | #define RFONT_DEF_SET_FACE(rfont_def, face_id) \ |
| 269 | ASET ((rfont_def), 0, make_number (face_id)) | 269 | ASET ((rfont_def), 0, make_fixnum (face_id)) |
| 270 | #define RFONT_DEF_FONT_DEF(rfont_def) AREF (rfont_def, 1) | 270 | #define RFONT_DEF_FONT_DEF(rfont_def) AREF (rfont_def, 1) |
| 271 | #define RFONT_DEF_SPEC(rfont_def) FONT_DEF_SPEC (AREF (rfont_def, 1)) | 271 | #define RFONT_DEF_SPEC(rfont_def) FONT_DEF_SPEC (AREF (rfont_def, 1)) |
| 272 | #define RFONT_DEF_OBJECT(rfont_def) AREF (rfont_def, 2) | 272 | #define RFONT_DEF_OBJECT(rfont_def) AREF (rfont_def, 2) |
| @@ -278,10 +278,10 @@ set_fontset_fallback (Lisp_Object fontset, Lisp_Object fallback) | |||
| 278 | preferable. */ | 278 | preferable. */ |
| 279 | #define RFONT_DEF_SCORE(rfont_def) XINT (AREF (rfont_def, 3)) | 279 | #define RFONT_DEF_SCORE(rfont_def) XINT (AREF (rfont_def, 3)) |
| 280 | #define RFONT_DEF_SET_SCORE(rfont_def, score) \ | 280 | #define RFONT_DEF_SET_SCORE(rfont_def, score) \ |
| 281 | ASET ((rfont_def), 3, make_number (score)) | 281 | ASET ((rfont_def), 3, make_fixnum (score)) |
| 282 | #define RFONT_DEF_NEW(rfont_def, font_def) \ | 282 | #define RFONT_DEF_NEW(rfont_def, font_def) \ |
| 283 | do { \ | 283 | do { \ |
| 284 | (rfont_def) = Fmake_vector (make_number (4), Qnil); \ | 284 | (rfont_def) = Fmake_vector (make_fixnum (4), Qnil); \ |
| 285 | ASET ((rfont_def), 1, (font_def)); \ | 285 | ASET ((rfont_def), 1, (font_def)); \ |
| 286 | RFONT_DEF_SET_SCORE ((rfont_def), 0); \ | 286 | RFONT_DEF_SET_SCORE ((rfont_def), 0); \ |
| 287 | } while (0) | 287 | } while (0) |
| @@ -328,10 +328,10 @@ fontset_ref (Lisp_Object fontset, int c) | |||
| 328 | (NILP (add) \ | 328 | (NILP (add) \ |
| 329 | ? (NILP (range) \ | 329 | ? (NILP (range) \ |
| 330 | ? (set_fontset_fallback \ | 330 | ? (set_fontset_fallback \ |
| 331 | (fontset, Fmake_vector (make_number (1), (elt)))) \ | 331 | (fontset, Fmake_vector (make_fixnum (1), (elt)))) \ |
| 332 | : ((void) \ | 332 | : ((void) \ |
| 333 | Fset_char_table_range (fontset, range, \ | 333 | Fset_char_table_range (fontset, range, \ |
| 334 | Fmake_vector (make_number (1), elt)))) \ | 334 | Fmake_vector (make_fixnum (1), elt)))) \ |
| 335 | : fontset_add ((fontset), (range), (elt), (add))) | 335 | : fontset_add ((fontset), (range), (elt), (add))) |
| 336 | 336 | ||
| 337 | static void | 337 | static void |
| @@ -340,7 +340,7 @@ fontset_add (Lisp_Object fontset, Lisp_Object range, Lisp_Object elt, Lisp_Objec | |||
| 340 | Lisp_Object args[2]; | 340 | Lisp_Object args[2]; |
| 341 | int idx = (EQ (add, Qappend) ? 0 : 1); | 341 | int idx = (EQ (add, Qappend) ? 0 : 1); |
| 342 | 342 | ||
| 343 | args[1 - idx] = Fmake_vector (make_number (1), elt); | 343 | args[1 - idx] = Fmake_vector (make_fixnum (1), elt); |
| 344 | 344 | ||
| 345 | if (CONSP (range)) | 345 | if (CONSP (range)) |
| 346 | { | 346 | { |
| @@ -456,7 +456,7 @@ reorder_font_vector (Lisp_Object font_group, struct font *font) | |||
| 456 | qsort (XVECTOR (vec)->contents, size, word_size, | 456 | qsort (XVECTOR (vec)->contents, size, word_size, |
| 457 | fontset_compare_rfontdef); | 457 | fontset_compare_rfontdef); |
| 458 | EMACS_INT low_tick_bits = charset_ordered_list_tick & MOST_POSITIVE_FIXNUM; | 458 | EMACS_INT low_tick_bits = charset_ordered_list_tick & MOST_POSITIVE_FIXNUM; |
| 459 | XSETCAR (font_group, make_number (low_tick_bits)); | 459 | XSETCAR (font_group, make_fixnum (low_tick_bits)); |
| 460 | } | 460 | } |
| 461 | 461 | ||
| 462 | /* Return a font-group (actually a cons (CHARSET_ORDERED_LIST_TICK | 462 | /* Return a font-group (actually a cons (CHARSET_ORDERED_LIST_TICK |
| @@ -496,7 +496,7 @@ fontset_get_font_group (Lisp_Object fontset, int c) | |||
| 496 | for C, or the fontset does not have fallback fonts. */ | 496 | for C, or the fontset does not have fallback fonts. */ |
| 497 | if (NILP (font_group)) | 497 | if (NILP (font_group)) |
| 498 | { | 498 | { |
| 499 | font_group = make_number (0); | 499 | font_group = make_fixnum (0); |
| 500 | if (c >= 0) | 500 | if (c >= 0) |
| 501 | /* Record that FONTSET does not specify fonts for C. As | 501 | /* Record that FONTSET does not specify fonts for C. As |
| 502 | there's a possibility that a font is found in a fallback | 502 | there's a possibility that a font is found in a fallback |
| @@ -520,7 +520,7 @@ fontset_get_font_group (Lisp_Object fontset, int c) | |||
| 520 | RFONT_DEF_SET_SCORE (rfont_def, i); | 520 | RFONT_DEF_SET_SCORE (rfont_def, i); |
| 521 | ASET (font_group, i, rfont_def); | 521 | ASET (font_group, i, rfont_def); |
| 522 | } | 522 | } |
| 523 | font_group = Fcons (make_number (-1), font_group); | 523 | font_group = Fcons (make_fixnum (-1), font_group); |
| 524 | if (c >= 0) | 524 | if (c >= 0) |
| 525 | char_table_set_range (fontset, from, to, font_group); | 525 | char_table_set_range (fontset, from, to, font_group); |
| 526 | else | 526 | else |
| @@ -633,7 +633,7 @@ fontset_find_font (Lisp_Object fontset, int c, struct face *face, | |||
| 633 | /* This is a sign of not to try the other fonts. */ | 633 | /* This is a sign of not to try the other fonts. */ |
| 634 | return Qt; | 634 | return Qt; |
| 635 | } | 635 | } |
| 636 | if (INTEGERP (RFONT_DEF_FACE (rfont_def)) | 636 | if (FIXNUMP (RFONT_DEF_FACE (rfont_def)) |
| 637 | && XINT (RFONT_DEF_FACE (rfont_def)) < 0) | 637 | && XINT (RFONT_DEF_FACE (rfont_def)) < 0) |
| 638 | /* We couldn't open this font last time. */ | 638 | /* We couldn't open this font last time. */ |
| 639 | continue; | 639 | continue; |
| @@ -711,7 +711,7 @@ fontset_find_font (Lisp_Object fontset, int c, struct face *face, | |||
| 711 | RFONT_DEF_NEW (rfont_def, font_def); | 711 | RFONT_DEF_NEW (rfont_def, font_def); |
| 712 | RFONT_DEF_SET_OBJECT (rfont_def, font_object); | 712 | RFONT_DEF_SET_OBJECT (rfont_def, font_object); |
| 713 | RFONT_DEF_SET_SCORE (rfont_def, RFONT_DEF_SCORE (rfont_def)); | 713 | RFONT_DEF_SET_SCORE (rfont_def, RFONT_DEF_SCORE (rfont_def)); |
| 714 | new_vec = Fmake_vector (make_number (ASIZE (vec) + 1), Qnil); | 714 | new_vec = Fmake_vector (make_fixnum (ASIZE (vec) + 1), Qnil); |
| 715 | found_index++; | 715 | found_index++; |
| 716 | for (j = 0; j < found_index; j++) | 716 | for (j = 0; j < found_index; j++) |
| 717 | ASET (new_vec, j, AREF (vec, j)); | 717 | ASET (new_vec, j, AREF (vec, j)); |
| @@ -727,7 +727,7 @@ fontset_find_font (Lisp_Object fontset, int c, struct face *face, | |||
| 727 | } | 727 | } |
| 728 | 728 | ||
| 729 | /* Record that no font in this font group supports C. */ | 729 | /* Record that no font in this font group supports C. */ |
| 730 | FONTSET_SET (fontset, make_number (c), make_number (0)); | 730 | FONTSET_SET (fontset, make_fixnum (c), make_fixnum (0)); |
| 731 | return Qnil; | 731 | return Qnil; |
| 732 | 732 | ||
| 733 | found: | 733 | found: |
| @@ -756,12 +756,12 @@ fontset_font (Lisp_Object fontset, int c, struct face *face, int id) | |||
| 756 | Lisp_Object base_fontset; | 756 | Lisp_Object base_fontset; |
| 757 | 757 | ||
| 758 | /* Try a font-group of FONTSET. */ | 758 | /* Try a font-group of FONTSET. */ |
| 759 | FONT_DEFERRED_LOG ("current fontset: font for", make_number (c), Qnil); | 759 | FONT_DEFERRED_LOG ("current fontset: font for", make_fixnum (c), Qnil); |
| 760 | rfont_def = fontset_find_font (fontset, c, face, id, 0); | 760 | rfont_def = fontset_find_font (fontset, c, face, id, 0); |
| 761 | if (VECTORP (rfont_def)) | 761 | if (VECTORP (rfont_def)) |
| 762 | return rfont_def; | 762 | return rfont_def; |
| 763 | if (NILP (rfont_def)) | 763 | if (NILP (rfont_def)) |
| 764 | FONTSET_SET (fontset, make_number (c), make_number (0)); | 764 | FONTSET_SET (fontset, make_fixnum (c), make_fixnum (0)); |
| 765 | 765 | ||
| 766 | /* Try a font-group of the default fontset. */ | 766 | /* Try a font-group of the default fontset. */ |
| 767 | base_fontset = FONTSET_BASE (fontset); | 767 | base_fontset = FONTSET_BASE (fontset); |
| @@ -771,37 +771,37 @@ fontset_font (Lisp_Object fontset, int c, struct face *face, int id) | |||
| 771 | set_fontset_default | 771 | set_fontset_default |
| 772 | (fontset, | 772 | (fontset, |
| 773 | make_fontset (FONTSET_FRAME (fontset), Qnil, Vdefault_fontset)); | 773 | make_fontset (FONTSET_FRAME (fontset), Qnil, Vdefault_fontset)); |
| 774 | FONT_DEFERRED_LOG ("default fontset: font for", make_number (c), Qnil); | 774 | FONT_DEFERRED_LOG ("default fontset: font for", make_fixnum (c), Qnil); |
| 775 | default_rfont_def | 775 | default_rfont_def |
| 776 | = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 0); | 776 | = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 0); |
| 777 | if (VECTORP (default_rfont_def)) | 777 | if (VECTORP (default_rfont_def)) |
| 778 | return default_rfont_def; | 778 | return default_rfont_def; |
| 779 | if (NILP (default_rfont_def)) | 779 | if (NILP (default_rfont_def)) |
| 780 | FONTSET_SET (FONTSET_DEFAULT (fontset), make_number (c), | 780 | FONTSET_SET (FONTSET_DEFAULT (fontset), make_fixnum (c), |
| 781 | make_number (0)); | 781 | make_fixnum (0)); |
| 782 | } | 782 | } |
| 783 | 783 | ||
| 784 | /* Try a fallback font-group of FONTSET. */ | 784 | /* Try a fallback font-group of FONTSET. */ |
| 785 | if (! EQ (rfont_def, Qt)) | 785 | if (! EQ (rfont_def, Qt)) |
| 786 | { | 786 | { |
| 787 | FONT_DEFERRED_LOG ("current fallback: font for", make_number (c), Qnil); | 787 | FONT_DEFERRED_LOG ("current fallback: font for", make_fixnum (c), Qnil); |
| 788 | rfont_def = fontset_find_font (fontset, c, face, id, 1); | 788 | rfont_def = fontset_find_font (fontset, c, face, id, 1); |
| 789 | if (VECTORP (rfont_def)) | 789 | if (VECTORP (rfont_def)) |
| 790 | return rfont_def; | 790 | return rfont_def; |
| 791 | /* Remember that FONTSET has no font for C. */ | 791 | /* Remember that FONTSET has no font for C. */ |
| 792 | FONTSET_SET (fontset, make_number (c), Qt); | 792 | FONTSET_SET (fontset, make_fixnum (c), Qt); |
| 793 | } | 793 | } |
| 794 | 794 | ||
| 795 | /* Try a fallback font-group of the default fontset. */ | 795 | /* Try a fallback font-group of the default fontset. */ |
| 796 | if (! EQ (base_fontset, Vdefault_fontset) | 796 | if (! EQ (base_fontset, Vdefault_fontset) |
| 797 | && ! EQ (default_rfont_def, Qt)) | 797 | && ! EQ (default_rfont_def, Qt)) |
| 798 | { | 798 | { |
| 799 | FONT_DEFERRED_LOG ("default fallback: font for", make_number (c), Qnil); | 799 | FONT_DEFERRED_LOG ("default fallback: font for", make_fixnum (c), Qnil); |
| 800 | rfont_def = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 1); | 800 | rfont_def = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 1); |
| 801 | if (VECTORP (rfont_def)) | 801 | if (VECTORP (rfont_def)) |
| 802 | return rfont_def; | 802 | return rfont_def; |
| 803 | /* Remember that the default fontset has no font for C. */ | 803 | /* Remember that the default fontset has no font for C. */ |
| 804 | FONTSET_SET (FONTSET_DEFAULT (fontset), make_number (c), Qt); | 804 | FONTSET_SET (FONTSET_DEFAULT (fontset), make_fixnum (c), Qt); |
| 805 | } | 805 | } |
| 806 | 806 | ||
| 807 | return Qnil; | 807 | return Qnil; |
| @@ -830,7 +830,7 @@ make_fontset (Lisp_Object frame, Lisp_Object name, Lisp_Object base) | |||
| 830 | 830 | ||
| 831 | fontset = Fmake_char_table (Qfontset, Qnil); | 831 | fontset = Fmake_char_table (Qfontset, Qnil); |
| 832 | 832 | ||
| 833 | set_fontset_id (fontset, make_number (id)); | 833 | set_fontset_id (fontset, make_fixnum (id)); |
| 834 | if (NILP (base)) | 834 | if (NILP (base)) |
| 835 | set_fontset_name (fontset, name); | 835 | set_fontset_name (fontset, name); |
| 836 | else | 836 | else |
| @@ -973,7 +973,7 @@ face_for_char (struct frame *f, struct face *face, int c, | |||
| 973 | } | 973 | } |
| 974 | else | 974 | else |
| 975 | { | 975 | { |
| 976 | charset = Fget_char_property (make_number (pos), Qcharset, object); | 976 | charset = Fget_char_property (make_fixnum (pos), Qcharset, object); |
| 977 | if (CHARSETP (charset)) | 977 | if (CHARSETP (charset)) |
| 978 | { | 978 | { |
| 979 | Lisp_Object val; | 979 | Lisp_Object val; |
| @@ -990,7 +990,7 @@ face_for_char (struct frame *f, struct face *face, int c, | |||
| 990 | rfont_def = fontset_font (fontset, c, face, id); | 990 | rfont_def = fontset_font (fontset, c, face, id); |
| 991 | if (VECTORP (rfont_def)) | 991 | if (VECTORP (rfont_def)) |
| 992 | { | 992 | { |
| 993 | if (INTEGERP (RFONT_DEF_FACE (rfont_def))) | 993 | if (FIXNUMP (RFONT_DEF_FACE (rfont_def))) |
| 994 | face_id = XINT (RFONT_DEF_FACE (rfont_def)); | 994 | face_id = XINT (RFONT_DEF_FACE (rfont_def)); |
| 995 | else | 995 | else |
| 996 | { | 996 | { |
| @@ -1003,12 +1003,12 @@ face_for_char (struct frame *f, struct face *face, int c, | |||
| 1003 | } | 1003 | } |
| 1004 | else | 1004 | else |
| 1005 | { | 1005 | { |
| 1006 | if (INTEGERP (FONTSET_NOFONT_FACE (fontset))) | 1006 | if (FIXNUMP (FONTSET_NOFONT_FACE (fontset))) |
| 1007 | face_id = XINT (FONTSET_NOFONT_FACE (fontset)); | 1007 | face_id = XINT (FONTSET_NOFONT_FACE (fontset)); |
| 1008 | else | 1008 | else |
| 1009 | { | 1009 | { |
| 1010 | face_id = face_for_font (f, Qnil, face); | 1010 | face_id = face_for_font (f, Qnil, face); |
| 1011 | set_fontset_nofont_face (fontset, make_number (face_id)); | 1011 | set_fontset_nofont_face (fontset, make_fixnum (face_id)); |
| 1012 | } | 1012 | } |
| 1013 | } | 1013 | } |
| 1014 | eassert (face_id >= 0); | 1014 | eassert (face_id >= 0); |
| @@ -1040,7 +1040,7 @@ font_for_char (struct face *face, int c, ptrdiff_t pos, Lisp_Object object) | |||
| 1040 | } | 1040 | } |
| 1041 | else | 1041 | else |
| 1042 | { | 1042 | { |
| 1043 | charset = Fget_char_property (make_number (pos), Qcharset, object); | 1043 | charset = Fget_char_property (make_fixnum (pos), Qcharset, object); |
| 1044 | if (CHARSETP (charset)) | 1044 | if (CHARSETP (charset)) |
| 1045 | { | 1045 | { |
| 1046 | Lisp_Object val; | 1046 | Lisp_Object val; |
| @@ -1412,7 +1412,7 @@ set_fontset_font (Lisp_Object arg, Lisp_Object range) | |||
| 1412 | if (to < 0x80) | 1412 | if (to < 0x80) |
| 1413 | return; | 1413 | return; |
| 1414 | from = 0x80; | 1414 | from = 0x80; |
| 1415 | range = Fcons (make_number (0x80), XCDR (range)); | 1415 | range = Fcons (make_fixnum (0x80), XCDR (range)); |
| 1416 | } | 1416 | } |
| 1417 | 1417 | ||
| 1418 | #define SCRIPT_FROM XINT (XCAR (XCAR (script_range_list))) | 1418 | #define SCRIPT_FROM XINT (XCAR (XCAR (script_range_list))) |
| @@ -1424,11 +1424,11 @@ set_fontset_font (Lisp_Object arg, Lisp_Object range) | |||
| 1424 | if (CONSP (script_range_list)) | 1424 | if (CONSP (script_range_list)) |
| 1425 | { | 1425 | { |
| 1426 | if (SCRIPT_FROM < from) | 1426 | if (SCRIPT_FROM < from) |
| 1427 | range = Fcons (make_number (SCRIPT_FROM), XCDR (range)); | 1427 | range = Fcons (make_fixnum (SCRIPT_FROM), XCDR (range)); |
| 1428 | while (CONSP (script_range_list) && SCRIPT_TO <= to) | 1428 | while (CONSP (script_range_list) && SCRIPT_TO <= to) |
| 1429 | POP_SCRIPT_RANGE (); | 1429 | POP_SCRIPT_RANGE (); |
| 1430 | if (CONSP (script_range_list) && SCRIPT_FROM <= to) | 1430 | if (CONSP (script_range_list) && SCRIPT_FROM <= to) |
| 1431 | XSETCAR (XCAR (script_range_list), make_number (to + 1)); | 1431 | XSETCAR (XCAR (script_range_list), make_fixnum (to + 1)); |
| 1432 | } | 1432 | } |
| 1433 | 1433 | ||
| 1434 | FONTSET_ADD (fontset, range, font_def, add); | 1434 | FONTSET_ADD (fontset, range, font_def, add); |
| @@ -2000,7 +2000,7 @@ patterns. */) | |||
| 2000 | if (NILP (val)) | 2000 | if (NILP (val)) |
| 2001 | return Qnil; | 2001 | return Qnil; |
| 2002 | repertory = AREF (val, 1); | 2002 | repertory = AREF (val, 1); |
| 2003 | if (INTEGERP (repertory)) | 2003 | if (FIXNUMP (repertory)) |
| 2004 | { | 2004 | { |
| 2005 | struct charset *charset = CHARSET_FROM_ID (XINT (repertory)); | 2005 | struct charset *charset = CHARSET_FROM_ID (XINT (repertory)); |
| 2006 | 2006 | ||
| @@ -2061,7 +2061,7 @@ dump_fontset (Lisp_Object fontset) | |||
| 2061 | { | 2061 | { |
| 2062 | Lisp_Object vec; | 2062 | Lisp_Object vec; |
| 2063 | 2063 | ||
| 2064 | vec = Fmake_vector (make_number (3), Qnil); | 2064 | vec = Fmake_vector (make_fixnum (3), Qnil); |
| 2065 | ASET (vec, 0, FONTSET_ID (fontset)); | 2065 | ASET (vec, 0, FONTSET_ID (fontset)); |
| 2066 | 2066 | ||
| 2067 | if (BASE_FONTSET_P (fontset)) | 2067 | if (BASE_FONTSET_P (fontset)) |
| @@ -2109,9 +2109,9 @@ void | |||
| 2109 | syms_of_fontset (void) | 2109 | syms_of_fontset (void) |
| 2110 | { | 2110 | { |
| 2111 | DEFSYM (Qfontset, "fontset"); | 2111 | DEFSYM (Qfontset, "fontset"); |
| 2112 | Fput (Qfontset, Qchar_table_extra_slots, make_number (8)); | 2112 | Fput (Qfontset, Qchar_table_extra_slots, make_fixnum (8)); |
| 2113 | DEFSYM (Qfontset_info, "fontset-info"); | 2113 | DEFSYM (Qfontset_info, "fontset-info"); |
| 2114 | Fput (Qfontset_info, Qchar_table_extra_slots, make_number (1)); | 2114 | Fput (Qfontset_info, Qchar_table_extra_slots, make_fixnum (1)); |
| 2115 | 2115 | ||
| 2116 | DEFSYM (Qappend, "append"); | 2116 | DEFSYM (Qappend, "append"); |
| 2117 | DEFSYM (Qlatin, "latin"); | 2117 | DEFSYM (Qlatin, "latin"); |
| @@ -2119,12 +2119,12 @@ syms_of_fontset (void) | |||
| 2119 | Vcached_fontset_data = Qnil; | 2119 | Vcached_fontset_data = Qnil; |
| 2120 | staticpro (&Vcached_fontset_data); | 2120 | staticpro (&Vcached_fontset_data); |
| 2121 | 2121 | ||
| 2122 | Vfontset_table = Fmake_vector (make_number (32), Qnil); | 2122 | Vfontset_table = Fmake_vector (make_fixnum (32), Qnil); |
| 2123 | staticpro (&Vfontset_table); | 2123 | staticpro (&Vfontset_table); |
| 2124 | 2124 | ||
| 2125 | Vdefault_fontset = Fmake_char_table (Qfontset, Qnil); | 2125 | Vdefault_fontset = Fmake_char_table (Qfontset, Qnil); |
| 2126 | staticpro (&Vdefault_fontset); | 2126 | staticpro (&Vdefault_fontset); |
| 2127 | set_fontset_id (Vdefault_fontset, make_number (0)); | 2127 | set_fontset_id (Vdefault_fontset, make_fixnum (0)); |
| 2128 | set_fontset_name | 2128 | set_fontset_name |
| 2129 | (Vdefault_fontset, | 2129 | (Vdefault_fontset, |
| 2130 | build_pure_c_string ("-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default")); | 2130 | build_pure_c_string ("-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default")); |