diff options
| author | Kenichi Handa | 2002-06-24 00:37:24 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-06-24 00:37:24 +0000 |
| commit | e1885335709d94912b5f5d15a7df67c45b7b5cdb (patch) | |
| tree | 46599920010fcbfd96584544a47e9ac97848c2e3 /src | |
| parent | 87c145066468c6f73f5f15fab6d155295687cb5a (diff) | |
| download | emacs-e1885335709d94912b5f5d15a7df67c45b7b5cdb.tar.gz emacs-e1885335709d94912b5f5d15a7df67c45b7b5cdb.zip | |
(selection_data_to_lisp_data): Disable composition handling.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xselect.c b/src/xselect.c index 613d42eeb9f..efeaf89efa5 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -1646,6 +1646,10 @@ selection_data_to_lisp_data (display, data, size, type, format) | |||
| 1646 | coding.dst_multibyte = 1; | 1646 | coding.dst_multibyte = 1; |
| 1647 | Vnext_selection_coding_system = Qnil; | 1647 | Vnext_selection_coding_system = Qnil; |
| 1648 | coding.mode |= CODING_MODE_LAST_BLOCK; | 1648 | coding.mode |= CODING_MODE_LAST_BLOCK; |
| 1649 | /* We explicitely disable composition handling because | ||
| 1650 | selection data should not contain any composition | ||
| 1651 | sequence. */ | ||
| 1652 | coding.composing = COMPOSITION_DISABLED; | ||
| 1649 | bufsize = decoding_buffer_size (&coding, size); | 1653 | bufsize = decoding_buffer_size (&coding, size); |
| 1650 | buf = (unsigned char *) xmalloc (bufsize); | 1654 | buf = (unsigned char *) xmalloc (bufsize); |
| 1651 | decode_coding (&coding, data, buf, size, bufsize); | 1655 | decode_coding (&coding, data, buf, size, bufsize); |