From: Kenichi Handa Date: Tue, 9 Jul 2002 00:00:45 +0000 (+0000) Subject: (selection_data_to_lisp_data): Disable composition handling. X-Git-Tag: emacs-pretest-21.2.91~184 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b97fe1029f591364d4e8f4feaca7ab34a2ce7f31;p=emacs.git (selection_data_to_lisp_data): Disable composition handling. --- diff --git a/src/xselect.c b/src/xselect.c index fd5f177dc1b..f811357891d 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -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);