From: Kenichi Handa Date: Tue, 18 Jul 2000 04:32:08 +0000 (+0000) Subject: (setup_coding_system): Don't override the explicitly specified X-Git-Tag: emacs-pretest-21.0.90~2787 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=96148065345f7ed2ef5f80cc8347019dedecf23a;p=emacs.git (setup_coding_system): Don't override the explicitly specified designations. --- diff --git a/src/coding.c b/src/coding.c index 3a53c95e7e7..a42fbee3a69 100644 --- a/src/coding.c +++ b/src/coding.c @@ -3141,10 +3141,12 @@ setup_coding_system (coding_system, coding) if (reg_bits) for (charset = 0; charset <= MAX_CHARSET; charset++) { - if (CHARSET_VALID_P (charset)) + if (CHARSET_VALID_P (charset) + && (CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) + == CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION)) { /* There exist some default graphic registers to be - used CHARSET. */ + used by CHARSET. */ /* We had better avoid designating a charset of CHARS96 to REG 0 as far as possible. */