From: tomo Date: Wed, 21 Jul 2004 04:54:39 +0000 (+0000) Subject: (open_chise_data_source_maybe): Use Vdata_directory instead of X-Git-Tag: r21-4-15-chise-0_21-30-ccs-props^2~14 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b3946995808de3daa21f30885572a269c1e5c6e6;p=chise%2Fxemacs-chise.git (open_chise_data_source_maybe): Use Vdata_directory instead of Vexec_directory. (char_attribute_system_db_file): Likewise. --- diff --git a/src/chartab.c b/src/chartab.c index d22b611..8d264a9 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -3635,11 +3635,11 @@ open_chise_data_source_maybe () { if (default_chise_data_source == NULL) { - Lisp_Object db_dir = Vexec_directory; + Lisp_Object db_dir = Vdata_directory; int modemask = 0755; /* rwxr-xr-x */ if (NILP (db_dir)) - db_dir = build_string ("../lib-src"); + db_dir = build_string ("../etc"); db_dir = Fexpand_file_name (build_string ("chise-db"), db_dir); default_chise_data_source @@ -3743,10 +3743,10 @@ Lisp_Object char_attribute_system_db_file (Lisp_Object key_type, Lisp_Object attribute, int writing_mode) { - Lisp_Object db_dir = Vexec_directory; + Lisp_Object db_dir = Vdata_directory; if (NILP (db_dir)) - db_dir = build_string ("../lib-src"); + db_dir = build_string ("../etc"); db_dir = Fexpand_file_name (build_string ("chise-db"), db_dir); if (writing_mode && NILP (Ffile_exists_p (db_dir)))