657 |
coding.dst_multibyte = 1; |
coding.dst_multibyte = 1; |
658 |
Vnext_selection_coding_system = Qnil; |
Vnext_selection_coding_system = Qnil; |
659 |
coding.mode |= CODING_MODE_LAST_BLOCK; |
coding.mode |= CODING_MODE_LAST_BLOCK; |
660 |
|
/* We explicitely disable composition handling because selection |
661 |
|
data should not contain any composition sequence. */ |
662 |
|
coding.composing = COMPOSITION_DISABLED; |
663 |
truelen = get_clipboard_data (CF_OEMTEXT, htext, data_size, 1); |
truelen = get_clipboard_data (CF_OEMTEXT, htext, data_size, 1); |
664 |
bufsize = decoding_buffer_size (&coding, truelen); |
bufsize = decoding_buffer_size (&coding, truelen); |
665 |
buf = (unsigned char *) xmalloc (bufsize); |
buf = (unsigned char *) xmalloc (bufsize); |