Mercurial > emacs
changeset 88977:3b05c02eebf2
(Fdefine_coding_system_internal): Fix category setting
for a coding system of type iso-2022.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 08 Aug 2002 13:01:56 +0000 |
parents | fc96b539a43c |
children | 32dd7c0ab007 |
files | src/coding.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Thu Aug 08 13:00:10 2002 +0000 +++ b/src/coding.c Thu Aug 08 13:01:56 2002 +0000 @@ -7599,8 +7599,7 @@ { 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