From: tomo Date: Wed, 8 Oct 2003 13:20:17 +0000 (+0000) Subject: (Vchise_db_directory): New variable. X-Git-Tag: r21-4-12-chise-0_21-pre7-for-libchise-b1-r0_2_0-pre8~9 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ab590932a9c8f10de7a2879d7f7aa73ca0adfca7;p=chise%2Fxemacs-chise.git.1 (Vchise_db_directory): New variable. (vars_of_chartab): Add new built-in variable `chise-db-directory'. --- 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;