]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fw16_get_clipboard_data): Disable composition handling.
authorKenichi Handa <handa@m17n.org>
Mon, 24 Jun 2002 00:36:20 +0000 (00:36 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 24 Jun 2002 00:36:20 +0000 (00:36 +0000)
src/w16select.c

index 96d23087d120b591684763d30ace7e34f319888a..6c6038994b918600538fe28b22b9f0f58b9310b4 100644 (file)
@@ -657,6 +657,9 @@ DEFUN ("w16-get-clipboard-data", Fw16_get_clipboard_data, Sw16_get_clipboard_dat
       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;
       truelen = get_clipboard_data (CF_OEMTEXT, htext, data_size, 1);
       bufsize = decoding_buffer_size (&coding, truelen);
       buf = (unsigned char *) xmalloc (bufsize);