diff options
author | Kenichi Handa <handa@m17n.org> | 2000-11-06 12:36:06 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2000-11-06 12:36:06 +0000 |
commit | 35bc5887595612ef1660bac93057921411ad79bf (patch) | |
tree | 9828c882843c773decd4dad6d73c6fa3d1496d37 /src | |
parent | 0caef0ecf7589c2c49c5f74f8669492b4d6f6862 (diff) | |
download | emacs-35bc5887595612ef1660bac93057921411ad79bf.tar.gz |
(x_encode_text): Suppress producing escape sequences for composition.
Diffstat (limited to 'src')
-rw-r--r-- | src/xfns.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |