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 | |
| 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')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/coding.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 84a98497709..17d16b23b19 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-07-17 Ken Raeburn <raeburn@gnu.org> | ||
| 2 | |||
| 3 | * coding.c (setup_coding_system): Don't do any designation based | ||
| 4 | on reg_bits if charset is not yet defined. | ||
| 5 | |||
| 1 | 2001-07-17 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-07-17 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * keyboard.c (KBD_BUFFER_SIZE) [!HAVE_WINDOW_SYSTEM]: Increase | 8 | * keyboard.c (KBD_BUFFER_SIZE) [!HAVE_WINDOW_SYSTEM]: Increase |
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 | { |