From: Kenichi Handa Date: Mon, 6 Nov 2000 12:36:06 +0000 (+0000) Subject: (x_encode_text): Suppress producing escape sequences for composition. X-Git-Tag: emacs-pretest-21.0.90~275 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=35bc5887595612ef1660bac93057921411ad79bf;p=emacs.git (x_encode_text): Suppress producing escape sequences for composition. --- diff --git a/src/xfns.c b/src/xfns.c index e0e57abc6cb..2b5ff4cc9fa 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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);