From: tomo Date: Tue, 14 Oct 2003 09:53:04 +0000 (+0000) Subject: (Fchar_attribute_list): When HAVE_LIBCHISE is defined and optional X-Git-Tag: r21-4-12-chise-0_21-pre8-for-libchise-b1-r0_2_0-pre9~4 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c72dc94c65475b2625a74ec50c69de8b2991810e;p=chise%2Fxemacs-chise.git.1 (Fchar_attribute_list): When HAVE_LIBCHISE is defined and optional argument `rehash' is specified, call `open_chise_data_source_maybe' before `chise_ds_foreach_char_feature_name' is called. --- diff --git a/src/chartab.c b/src/chartab.c index a219c9f..90eb96f 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -3159,8 +3159,11 @@ Return the list of all existing character attributes except coded-charsets. #ifdef HAVE_LIBCHISE if (!NILP (rehash)) - chise_ds_foreach_char_feature_name - (default_chise_data_source, &char_attribute_list_reset_map_func); + { + open_chise_data_source_maybe (); + chise_ds_foreach_char_feature_name + (default_chise_data_source, &char_attribute_list_reset_map_func); + } #endif GCPRO1 (char_attribute_list); char_attribute_list_closure.char_attribute_list = &char_attribute_list;