From 2265c01ed23e9411a4e24786273599d1426d63e2 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Thu, 8 Dec 2016 02:41:35 +0900 Subject: [PATCH] (charset_code_point): Use `USE_CONCORD_OBJECT_SYSTEM' instead of `HAVE_LIBCHISE' to detect to use Concord Object System. --- src/mule-charset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mule-charset.c b/src/mule-charset.c index 614adff..0007daa 100644 --- a/src/mule-charset.c +++ b/src/mule-charset.c @@ -1,7 +1,7 @@ /* Functions to handle multilingual characters. Copyright (C) 1992, 1995 Free Software Foundation, Inc. Copyright (C) 1995 Sun Microsystems, Inc. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2008, 2009, 2011 + Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2008, 2009, 2011, 2013, 2016 MORIOKA Tomohiko This file is part of XEmacs. @@ -1149,7 +1149,7 @@ charset_code_point (Lisp_Object charset, Emchar ch, int accepted_mode) Lisp_Object encoding_table = XCHARSET_ENCODING_TABLE (charset); if ( CHAR_TABLEP (encoding_table) -#ifdef HAVE_LIBCHISE +#ifdef USE_CONCORD_OBJECT_SYSTEM && !UNBOUNDP (ret = get_char_id_table_ce (XCHAR_TABLE (encoding_table), ch)) -- 1.7.10.4