Mercurial > emacs
changeset 45984:f95eb5f690c3
(Fw32_get_clipboard_data): Disable composition handling.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 24 Jun 2002 00:37:03 +0000 |
parents | 1f9be7a1addc |
children | 5be0ff42cd30 |
files | src/w32select.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32select.c Mon Jun 24 00:36:40 2002 +0000 +++ b/src/w32select.c Mon Jun 24 00:37:03 2002 +0000 @@ -330,6 +330,10 @@ coding.dst_multibyte = 1; Vnext_selection_coding_system = Qnil; coding.mode |= CODING_MODE_LAST_BLOCK; + /* We explicitely disable composition handling because + selection data should not contain any composition + sequence. */ + coding.composing = COMPOSITION_DISABLED; bufsize = decoding_buffer_size (&coding, nbytes); buf = (unsigned char *) xmalloc (bufsize); decode_coding (&coding, src, buf, nbytes, bufsize);