From ab590932a9c8f10de7a2879d7f7aa73ca0adfca7 Mon Sep 17 00:00:00 2001 From: tomo Date: Wed, 8 Oct 2003 13:20:17 +0000 Subject: [PATCH] (Vchise_db_directory): New variable. (vars_of_chartab): Add new built-in variable `chise-db-directory'. --- src/chartab.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/chartab.c b/src/chartab.c index 7b1553b..3afd31d 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -64,6 +64,8 @@ Lisp_Object Vword_combining_categories, Vword_separating_categories; #ifdef HAVE_LIBCHISE +Lisp_Object Vchise_db_directory; + CHISE_DS *default_chise_data_source = NULL; #endif @@ -4435,6 +4437,13 @@ vars_of_chartab (void) DEFVAR_LISP ("char-db-stingy-mode", &Vchar_db_stingy_mode /* */ ); Vchar_db_stingy_mode = Qt; +#ifdef HAVE_LIBCHISE + Vchise_db_directory = build_string(chise_db_dir); + DEFVAR_LISP ("chise-db-directory", &Vchise_db_directory /* +Directory of CHISE character database. +*/ ); + +#endif #endif /* HAVE_CHISE */ /* DO NOT staticpro this. It works just like Vweak_hash_tables. */ Vall_syntax_tables = Qnil; -- 1.7.10.4