(Fdefine_coding_system_internal): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Wed, 16 Oct 2002 09:12:55 +0000 (09:12 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 16 Oct 2002 09:12:55 +0000 (09:12 +0000)
src/coding.c

index 9c18a9d..c4f9274 100644 (file)
@@ -7720,6 +7720,9 @@ usage: (define-coding-system-internal ...)  */)
                      ? coding_category_iso_8_1
                      : coding_category_iso_8_2);
        }
+      if (category != coding_category_iso_8_1
+         && category != coding_category_iso_8_2)
+       CODING_ATTR_ASCII_COMPAT (attrs) = Qnil;
     }
   else if (EQ (coding_type, Qemacs_mule))
     {