Mercurial > emacs
diff src/xselect.c @ 45985:5be0ff42cd30
(selection_data_to_lisp_data): Disable composition handling.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Mon, 24 Jun 2002 00:37:24 +0000 |
| parents | 1f957476e757 |
| children | 3f111801efb4 |
line wrap: on
line diff
--- a/src/xselect.c Mon Jun 24 00:37:03 2002 +0000 +++ b/src/xselect.c Mon Jun 24 00:37:24 2002 +0000 @@ -1646,6 +1646,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, size); buf = (unsigned char *) xmalloc (bufsize); decode_coding (&coding, data, buf, size, bufsize);
