mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-12 09:28:24 +00:00
(send_process): Disable composition if from_byte < 0.
From Kenichi Handa <handa@etl.go.jp>.
This commit is contained in:
parent
ab750f9c19
commit
452294c2bf
@ -3324,8 +3324,13 @@ send_process (proc, buf, len, object)
|
||||
to = string_byte_to_char (object, from_byte + len);
|
||||
}
|
||||
|
||||
if (from_byte >= 0 && coding->composing != COMPOSITION_DISABLED)
|
||||
coding_save_composition (coding, from, to, object);
|
||||
if (coding->composing != COMPOSITION_DISABLED)
|
||||
{
|
||||
if (from_byte >= 0)
|
||||
coding_save_composition (coding, from, to, object);
|
||||
else
|
||||
coding->composing = COMPOSITION_DISABLED;
|
||||
}
|
||||
|
||||
if (STRING_BYTES (XSTRING (XPROCESS (proc)->encoding_buf)) < require)
|
||||
XPROCESS (proc)->encoding_buf = make_uninit_string (require);
|
||||
|
Loading…
Reference in New Issue
Block a user