diff options
| author | Kenichi Handa | 2002-06-24 00:37:03 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-06-24 00:37:03 +0000 |
| commit | 87c145066468c6f73f5f15fab6d155295687cb5a (patch) | |
| tree | 441957c6f9ed4d501c9c316307654ebd234edb5f /src | |
| parent | 65413122bb33d821c2bbe75641bda1b86b799c83 (diff) | |
| download | emacs-87c145066468c6f73f5f15fab6d155295687cb5a.tar.gz emacs-87c145066468c6f73f5f15fab6d155295687cb5a.zip | |
(Fw32_get_clipboard_data): Disable composition handling.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32select.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32select.c b/src/w32select.c index fa37bd65926..4f1ca582daf 100644 --- a/src/w32select.c +++ b/src/w32select.c | |||
| @@ -330,6 +330,10 @@ DEFUN ("w32-get-clipboard-data", Fw32_get_clipboard_data, | |||
| 330 | coding.dst_multibyte = 1; | 330 | coding.dst_multibyte = 1; |
| 331 | Vnext_selection_coding_system = Qnil; | 331 | Vnext_selection_coding_system = Qnil; |
| 332 | coding.mode |= CODING_MODE_LAST_BLOCK; | 332 | 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; | ||
| 333 | bufsize = decoding_buffer_size (&coding, nbytes); | 337 | bufsize = decoding_buffer_size (&coding, nbytes); |
| 334 | buf = (unsigned char *) xmalloc (bufsize); | 338 | buf = (unsigned char *) xmalloc (bufsize); |
| 335 | decode_coding (&coding, src, buf, nbytes, bufsize); | 339 | decode_coding (&coding, src, buf, nbytes, bufsize); |