diff options
| author | Kenichi Handa | 2000-07-18 04:32:08 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-07-18 04:32:08 +0000 |
| commit | 96148065345f7ed2ef5f80cc8347019dedecf23a (patch) | |
| tree | 962d55adbfcd97da8edbe7b9a4011ec5347f28d2 /src/coding.c | |
| parent | aa96c82019f441522af28d0c7ee77f0ea2673b90 (diff) | |
| download | emacs-96148065345f7ed2ef5f80cc8347019dedecf23a.tar.gz emacs-96148065345f7ed2ef5f80cc8347019dedecf23a.zip | |
(setup_coding_system): Don't override the explicitly specified
designations.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 6 |
1 files changed, 4 insertions, 2 deletions
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) | |||
| 3141 | if (reg_bits) | 3141 | if (reg_bits) |
| 3142 | for (charset = 0; charset <= MAX_CHARSET; charset++) | 3142 | for (charset = 0; charset <= MAX_CHARSET; charset++) |
| 3143 | { | 3143 | { |
| 3144 | if (CHARSET_VALID_P (charset)) | 3144 | if (CHARSET_VALID_P (charset) |
| 3145 | && (CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) | ||
| 3146 | == CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION)) | ||
| 3145 | { | 3147 | { |
| 3146 | /* There exist some default graphic registers to be | 3148 | /* There exist some default graphic registers to be |
| 3147 | used CHARSET. */ | 3149 | used by CHARSET. */ |
| 3148 | 3150 | ||
| 3149 | /* We had better avoid designating a charset of | 3151 | /* We had better avoid designating a charset of |
| 3150 | CHARS96 to REG 0 as far as possible. */ | 3152 | CHARS96 to REG 0 as far as possible. */ |