]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 c87f117fe1be5f3e9beca472cf54dd02db62d1b4..c153ebb1f3af2b15335cdbfb5bdd7a91e6533282 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)
     {