From b0f8e790d8ca40a5e02029a78956d05d89680123 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 31 Oct 2002 08:05:23 +0000 Subject: [PATCH] (charset_code_point): Add new argument `defined_only'. (encode_char_1): Modify for `charset_code_point'. --- src/char-ucs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/char-ucs.h b/src/char-ucs.h index fd46ad4..ce3fcd7 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -717,7 +717,7 @@ MAKE_CHAR (Lisp_Object charset, int c1, int c2) extern Lisp_Object Vcharacter_attribute_table; int encode_builtin_char_1 (Emchar c, Lisp_Object* charset); -int charset_code_point (Lisp_Object charset, Emchar ch); +int charset_code_point (Lisp_Object charset, Emchar ch, int defined_only); int range_charset_code_point (Lisp_Object charset, Emchar ch); extern Lisp_Object Vdefault_coded_charset_priority_list; @@ -734,7 +734,7 @@ encode_char_1 (Emchar ch, Lisp_Object* charset) *charset = Ffind_charset (Fcar (charsets)); if (!NILP (*charset)) { - int code_point = charset_code_point (*charset, ch); + int code_point = charset_code_point (*charset, ch, 0); if (code_point >= 0) return code_point; -- 1.7.10.4