(encode_coding_emacs_mule): Resync charset_list to
authorKenichi Handa <handa@m17n.org>
Sat, 22 Nov 2003 11:39:53 +0000 (11:39 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 22 Nov 2003 11:39:53 +0000 (11:39 +0000)
Vemacs_mule_charset_list.

src/coding.c

index c87f117..c153ebb 100644 (file)
@@ -2057,6 +2057,11 @@ encode_coding_emacs_mule (coding)
   int preferred_charset_id = -1;
 
   CODING_GET_INFO (coding, attrs, eol_type, charset_list);
+  if (! EQ (charset_list, Vemacs_mule_charset_list))
+    {
+      CODING_ATTR_CHARSET_LIST (attrs)
+       = charset_list = Vemacs_mule_charset_list;
+    }
 
   while (charbuf < charbuf_end)
     {