(x_encode_text): Suppress producing escape sequences for composition.
authorKenichi Handa <handa@m17n.org>
Mon, 6 Nov 2000 12:36:06 +0000 (12:36 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 6 Nov 2000 12:36:06 +0000 (12:36 +0000)
src/xfns.c

index e0e57ab..2b5ff4c 100644 (file)
@@ -2163,6 +2163,8 @@ x_encode_text (string, coding_system, text_bytes, stringp)
   coding.mode |= CODING_MODE_LAST_BLOCK;
   if (coding.type == coding_type_iso2022)
     coding.flags |= CODING_FLAG_ISO_SAFE;
+  /* We suppress producing escape sequences for composition.  */
+  coding.composing = COMPOSITION_DISABLED;
   bufsize = encoding_buffer_size (&coding, bytes);
   buf = (unsigned char *) xmalloc (bufsize);
   encode_coding (&coding, str, buf, bytes, bufsize);