]> git.eshelyaron.com Git - emacs.git/commitdiff
(charset_ksc5601): New variable.
authorKenichi Handa <handa@m17n.org>
Thu, 16 Apr 2009 01:04:27 +0000 (01:04 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 16 Apr 2009 01:04:27 +0000 (01:04 +0000)
(Fdefine_charset_internal): Set charset_ksc5601.
(init_charset_once): Initialize charset_ksc5601 to -1.

src/charset.c

index bfe3468662937f39b560dd69672063924587848b..15975a4ebf613756bfce75939bdea9c3d3297690 100644 (file)
@@ -87,6 +87,7 @@ int charset_emacs;
 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 @@ usage: (define-charset-internal ...)  */)
        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 @@ init_charset_once ()
   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;