# HG changeset patch # User Kenichi Handa # Date 980379034 0 # Node ID 36de5bf9969cffc1e29d336afe0419fad600886e # Parent cb627d09f8c3e168d5323e5dca3c8439941234f2 (ccl_coding_driver): Setup ccl->suppress_error. (Fset_terminal_coding_system_internal): Set the member suppress_error to 1. (Fset_safe_terminal_coding_system_internal): Likewise. diff -r cb627d09f8c3 -r 36de5bf9969c src/coding.c --- a/src/coding.c Wed Jan 24 23:30:16 2001 +0000 +++ b/src/coding.c Wed Jan 24 23:30:34 2001 +0000 @@ -4427,6 +4427,7 @@ = encodep ? &coding->spec.ccl.encoder : &coding->spec.ccl.decoder; unsigned char *dst = destination; + ccl->suppress_error = coding->suppress_error; ccl->last_block = coding->mode & CODING_MODE_LAST_BLOCK; if (encodep) { @@ -6651,6 +6652,8 @@ terminal_coding.flags |= CODING_FLAG_ISO_SAFE; /* Characer composition should be disabled. */ terminal_coding.composing = COMPOSITION_DISABLED; + /* Error notification should be suppressed. */ + terminal_coding.suppress_error = 1; terminal_coding.src_multibyte = 1; terminal_coding.dst_multibyte = 0; return Qnil; @@ -6667,6 +6670,8 @@ &safe_terminal_coding); /* Characer composition should be disabled. */ safe_terminal_coding.composing = COMPOSITION_DISABLED; + /* Error notification should be suppressed. */ + terminal_coding.suppress_error = 1; safe_terminal_coding.src_multibyte = 1; safe_terminal_coding.dst_multibyte = 0; return Qnil;