330 |
coding.dst_multibyte = 1; |
coding.dst_multibyte = 1; |
331 |
Vnext_selection_coding_system = Qnil; |
Vnext_selection_coding_system = Qnil; |
332 |
coding.mode |= CODING_MODE_LAST_BLOCK; |
coding.mode |= CODING_MODE_LAST_BLOCK; |
333 |
|
/* We explicitely disable composition handling because |
334 |
|
selection data should not contain any composition |
335 |
|
sequence. */ |
336 |
|
coding.composing = COMPOSITION_DISABLED; |
337 |
bufsize = decoding_buffer_size (&coding, nbytes); |
bufsize = decoding_buffer_size (&coding, nbytes); |
338 |
buf = (unsigned char *) xmalloc (bufsize); |
buf = (unsigned char *) xmalloc (bufsize); |
339 |
decode_coding (&coding, src, buf, nbytes, bufsize); |
decode_coding (&coding, src, buf, nbytes, bufsize); |