]> git.eshelyaron.com Git - emacs.git/commitdiff
(lisp_data_to_selection_data): Call
authorKenichi Handa <handa@m17n.org>
Thu, 21 May 1998 01:48:52 +0000 (01:48 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 21 May 1998 01:48:52 +0000 (01:48 +0000)
find_charset_in_str with CMPCHARP 1 to encode Lisp string if it
contains a composite character.

src/xselect.c

index 15a4c283b8bb7c30d4c4fb2718e92d935311f3bc..969fd4e4148c55cec9ed4a7e845880996f7c7603 100644 (file)
@@ -1620,7 +1620,7 @@ lisp_data_to_selection_data (display, obj,
       num = ((*size_ret <= 1   /* Check the possibility of short cut.  */
              || NILP (buffer_defaults.enable_multibyte_characters))
             ? 0
-            : find_charset_in_str (*data_ret, *size_ret, charsets, Qnil));
+            : find_charset_in_str (*data_ret, *size_ret, charsets, Qnil, 1));
 
       if (!num || (num == 1 && charsets[CHARSET_ASCII]))
        {