diff options
| author | Kenichi Handa | 2000-11-06 12:36:06 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-11-06 12:36:06 +0000 |
| commit | 35bc5887595612ef1660bac93057921411ad79bf (patch) | |
| tree | 9828c882843c773decd4dad6d73c6fa3d1496d37 /src | |
| parent | 0caef0ecf7589c2c49c5f74f8669492b4d6f6862 (diff) | |
| download | emacs-35bc5887595612ef1660bac93057921411ad79bf.tar.gz emacs-35bc5887595612ef1660bac93057921411ad79bf.zip | |
(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) | |||
| 2163 | coding.mode |= CODING_MODE_LAST_BLOCK; | 2163 | coding.mode |= CODING_MODE_LAST_BLOCK; |
| 2164 | if (coding.type == coding_type_iso2022) | 2164 | if (coding.type == coding_type_iso2022) |
| 2165 | coding.flags |= CODING_FLAG_ISO_SAFE; | 2165 | coding.flags |= CODING_FLAG_ISO_SAFE; |
| 2166 | /* We suppress producing escape sequences for composition. */ | ||
| 2167 | coding.composing = COMPOSITION_DISABLED; | ||
| 2166 | bufsize = encoding_buffer_size (&coding, bytes); | 2168 | bufsize = encoding_buffer_size (&coding, bytes); |
| 2167 | buf = (unsigned char *) xmalloc (bufsize); | 2169 | buf = (unsigned char *) xmalloc (bufsize); |
| 2168 | encode_coding (&coding, str, buf, bytes, bufsize); | 2170 | encode_coding (&coding, str, buf, bytes, bufsize); |