# HG changeset patch # User Kenichi Handa # Date 973514166 0 # Node ID 421e3db4e24e866e6af6782542a55385f94d8662 # Parent c6aabac439cb3442ecc31e4f36fceebc0a515dce (x_encode_text): Suppress producing escape sequences for composition. diff -r c6aabac439cb -r 421e3db4e24e src/xfns.c --- a/src/xfns.c Mon Nov 06 12:35:44 2000 +0000 +++ b/src/xfns.c Mon Nov 06 12:36:06 2000 +0000 @@ -2163,6 +2163,8 @@ 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);