From 8c00609432e9bd45eb91edfa5a1724d8c14b1541 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 31 Oct 2002 10:58:01 +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 d5cb9fe..7b68791 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -704,7 +704,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; @@ -721,7 +721,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