From: tomo Date: Thu, 16 Aug 2001 18:27:50 +0000 (+0000) Subject: (complex_vars_of_chartab): Move setting code of X-Git-Tag: r21-2-41-utf-2000-0_17-2~123 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4ac7f614e1cb1ea373cb7c6db18984dff6d28f94;p=chise%2Fxemacs-chise.git.1 (complex_vars_of_chartab): Move setting code of `Vchar_attribute_hash_table' from function `vars_of_chartab' to `complex_vars_of_chartab'. --- diff --git a/src/chartab.c b/src/chartab.c index 93ce1de..6cfecf1 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -3312,10 +3312,6 @@ Version number of XEmacs UTF-2000. staticpro (&Vcharacter_variant_table); Vcharacter_variant_table = make_char_id_table (Qnil); - - staticpro (&Vchar_attribute_hash_table); - Vchar_attribute_hash_table - = make_lisp_hash_table (16, HASH_TABLE_NON_WEAK, HASH_TABLE_EQ); #endif /* DO NOT staticpro this. It works just like Vweak_hash_tables. */ Vall_syntax_tables = Qnil; @@ -3336,6 +3332,11 @@ structure_type_create_chartab (void) void complex_vars_of_chartab (void) { +#ifdef UTF2000 + staticpro (&Vchar_attribute_hash_table); + Vchar_attribute_hash_table + = make_lisp_hash_table (16, HASH_TABLE_NON_WEAK, HASH_TABLE_EQ); +#endif /* UTF2000 */ #ifdef MULE /* Set this now, so first buffer creation can refer to it. */ /* Make it nil before calling copy-category-table