diff options
author | Kenichi Handa <handa@m17n.org> | 1998-05-21 01:48:52 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1998-05-21 01:48:52 +0000 |
commit | e550dcb299a0c1e29fcfaa2bb94b39a2ecb9fabd (patch) | |
tree | c7fd3db6c7c7517c7946b83192e2aed3b9f6b091 /src/xselect.c | |
parent | 25c343b25ce6a3bbb9ebd7d8679ac7d99eb2828a (diff) | |
download | emacs-e550dcb299a0c1e29fcfaa2bb94b39a2ecb9fabd.tar.gz |
(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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c index 15a4c283b8b..969fd4e4148 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])) { |