diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 751bf1bdc29..474b21f2476 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3324,8 +3324,13 @@ send_process (proc, buf, len, object) | |||
| 3324 | to = string_byte_to_char (object, from_byte + len); | 3324 | to = string_byte_to_char (object, from_byte + len); |
| 3325 | } | 3325 | } |
| 3326 | 3326 | ||
| 3327 | if (from_byte >= 0 && coding->composing != COMPOSITION_DISABLED) | 3327 | if (coding->composing != COMPOSITION_DISABLED) |
| 3328 | coding_save_composition (coding, from, to, object); | 3328 | { |
| 3329 | if (from_byte >= 0) | ||
| 3330 | coding_save_composition (coding, from, to, object); | ||
| 3331 | else | ||
| 3332 | coding->composing = COMPOSITION_DISABLED; | ||
| 3333 | } | ||
| 3329 | 3334 | ||
| 3330 | if (STRING_BYTES (XSTRING (XPROCESS (proc)->encoding_buf)) < require) | 3335 | if (STRING_BYTES (XSTRING (XPROCESS (proc)->encoding_buf)) < require) |
| 3331 | XPROCESS (proc)->encoding_buf = make_uninit_string (require); | 3336 | XPROCESS (proc)->encoding_buf = make_uninit_string (require); |