changeset 35531:36de5bf9969c

(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.
author Kenichi Handa <handa@m17n.org>
date Wed, 24 Jan 2001 23:30:34 +0000
parents cb627d09f8c3
children 3ee8da949962
files src/coding.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;