mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 22:07:36 +00:00
(XTread_socket): Disable composition handling.
This commit is contained in:
parent
1b59dca98b
commit
d7bbc42e73
1 changed files with 4 additions and 0 deletions
|
|
@ -10569,6 +10569,10 @@ XTread_socket (sd, bufp, numchars, expected)
|
|||
require = decoding_buffer_size (&coding, nbytes);
|
||||
p = (unsigned char *) alloca (require);
|
||||
coding.mode |= CODING_MODE_LAST_BLOCK;
|
||||
/* We explicitely disable composition
|
||||
handling because key data should not
|
||||
contain any composition sequence. */
|
||||
coding.composing = COMPOSITION_DISABLED;
|
||||
decode_coding (&coding, copy_bufptr, p,
|
||||
nbytes, require);
|
||||
nbytes = coding.produced;
|
||||
|
|
|
|||
Loading…
Reference in a new issue