Mercurial > emacs
changeset 22164:a3a1164f9ad9
(lisp_data_to_selection_data): Call
find_charset_in_str with CMPCHARP 1 to encode Lisp string if it
contains a composite character.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 21 May 1998 01:48:52 +0000 |
parents | 58a65bc4156a |
children | 8cdacecac78b |
files | src/xselect.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xselect.c Thu May 21 01:47:32 1998 +0000 +++ b/src/xselect.c Thu May 21 01:48:52 1998 +0000 @@ -1620,7 +1620,7 @@ 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])) {