changeset 102986:02685d936706

(charset_ksc5601): New variable. (Fdefine_charset_internal): Set charset_ksc5601. (init_charset_once): Initialize charset_ksc5601 to -1.
author Kenichi Handa <handa@m17n.org>
date Thu, 16 Apr 2009 01:04:27 +0000
parents 3123154d96e0
children 712838035a79
files src/charset.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Wed Apr 15 23:32:23 2009 +0000
+++ b/src/charset.c	Thu Apr 16 01:04:27 2009 +0000
@@ -87,6 +87,7 @@
 int charset_jisx0201_roman;
 int charset_jisx0208_1978;
 int charset_jisx0208;
+int charset_ksc5601;
 
 /* Value of charset attribute `charset-iso-plane'.  */
 Lisp_Object Qgl, Qgr;
@@ -1224,6 +1225,8 @@
 	charset_jisx0208_1978 = id;
       else if (ISO_CHARSET_TABLE (2, 0, 'B') == id)
 	charset_jisx0208 = id;
+      else if (ISO_CHARSET_TABLE (2, 0, 'C') == id)
+	charset_ksc5601 = id;
     }
 
   if (charset.emacs_mule_id >= 0)
@@ -2320,6 +2323,7 @@
   charset_jisx0201_roman = -1;
   charset_jisx0208_1978 = -1;
   charset_jisx0208 = -1;
+  charset_ksc5601 = -1;
 
   for (i = 0; i < 128; i++)
     unibyte_to_multibyte_table[i] = i;