aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>1998-05-21 01:48:52 +0000
committerKenichi Handa <[email protected]>1998-05-21 01:48:52 +0000
commite550dcb299a0c1e29fcfaa2bb94b39a2ecb9fabd (patch)
treec7fd3db6c7c7517c7946b83192e2aed3b9f6b091 /src/xselect.c
parent25c343b25ce6a3bbb9ebd7d8679ac7d99eb2828a (diff)
(lisp_data_to_selection_data): Call
find_charset_in_str with CMPCHARP 1 to encode Lisp string if it contains a composite character.
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 15a4c283b8..969fd4e414 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -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]))
{