From 4ac7f614e1cb1ea373cb7c6db18984dff6d28f94 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 16 Aug 2001 18:27:50 +0000 Subject: [PATCH] (complex_vars_of_chartab): Move setting code of `Vchar_attribute_hash_table' from function `vars_of_chartab' to `complex_vars_of_chartab'. --- src/chartab.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 1.7.10.4