mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 13:57:36 +00:00
(selection_data_to_lisp_data): Disable composition handling.
This commit is contained in:
parent
d7bbc42e73
commit
b97fe1029f
1 changed files with 4 additions and 0 deletions
|
|
@ -1646,6 +1646,10 @@ selection_data_to_lisp_data (display, data, size, type, format)
|
|||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue