From c72dc94c65475b2625a74ec50c69de8b2991810e Mon Sep 17 00:00:00 2001 From: tomo Date: Tue, 14 Oct 2003 09:53:04 +0000 Subject: [PATCH] (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. --- src/chartab.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; -- 1.7.10.4