diff options
| author | Ken Raeburn | 2001-07-17 16:29:39 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2001-07-17 16:29:39 +0000 |
| commit | 928a85c1ba48540e0b79c20f708474cbbc7da20d (patch) | |
| tree | e6d084e5f7cc2351937cb8b6d11f0edea11a25a8 /src/coding.c | |
| parent | 27009a49b5be402772f84799f1690286c0dd229f (diff) | |
| download | emacs-928a85c1ba48540e0b79c20f708474cbbc7da20d.tar.gz emacs-928a85c1ba48540e0b79c20f708474cbbc7da20d.zip | |
* coding.c (setup_coding_system): Don't do any designation based on reg_bits if
charset is not yet defined.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index 34773217cc7..8556591e92b 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -3638,7 +3638,7 @@ setup_coding_system (coding_system, coding) | |||
| 3638 | if (reg_bits) | 3638 | if (reg_bits) |
| 3639 | for (charset = 0; charset <= MAX_CHARSET; charset++) | 3639 | for (charset = 0; charset <= MAX_CHARSET; charset++) |
| 3640 | { | 3640 | { |
| 3641 | if (CHARSET_VALID_P (charset) | 3641 | if (CHARSET_DEFINED_P (charset) |
| 3642 | && (CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) | 3642 | && (CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset) |
| 3643 | == CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION)) | 3643 | == CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION)) |
| 3644 | { | 3644 | { |