From: Kenichi Handa Date: Thu, 8 Aug 2002 13:01:56 +0000 (+0000) Subject: (Fdefine_coding_system_internal): Fix category setting X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~456 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6fb6e982802d8c8a23d981dccd6224c4bcb4f90;p=emacs.git (Fdefine_coding_system_internal): Fix category setting for a coding system of type iso-2022. --- diff --git a/src/coding.c b/src/coding.c index c53760a07c0..a6cf9ce7844 100644 --- a/src/coding.c +++ b/src/coding.c @@ -7599,8 +7599,7 @@ usage: (define-coding-system-internal ...) */) { int id = XINT (AREF (initial, 1)); - category = (((i & (CODING_ISO_FLAG_LOCKING_SHIFT - | CODING_ISO_FLAG_SINGLE_SHIFT)) + category = (((i & CODING_ISO_FLAG_LOCKING_SHIFT) || EQ (args[coding_arg_charset_list], Qiso_2022) || id < 0) ? coding_category_iso_8_else