diff options
| author | Kenichi Handa | 1998-05-21 01:48:52 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-05-21 01:48:52 +0000 |
| commit | e550dcb299a0c1e29fcfaa2bb94b39a2ecb9fabd (patch) | |
| tree | c7fd3db6c7c7517c7946b83192e2aed3b9f6b091 /src | |
| parent | 25c343b25ce6a3bbb9ebd7d8679ac7d99eb2828a (diff) | |
| download | emacs-e550dcb299a0c1e29fcfaa2bb94b39a2ecb9fabd.tar.gz emacs-e550dcb299a0c1e29fcfaa2bb94b39a2ecb9fabd.zip | |
(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')
| -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, | |||
| 1620 | num = ((*size_ret <= 1 /* Check the possibility of short cut. */ | 1620 | num = ((*size_ret <= 1 /* Check the possibility of short cut. */ |
| 1621 | || NILP (buffer_defaults.enable_multibyte_characters)) | 1621 | || NILP (buffer_defaults.enable_multibyte_characters)) |
| 1622 | ? 0 | 1622 | ? 0 |
| 1623 | : find_charset_in_str (*data_ret, *size_ret, charsets, Qnil)); | 1623 | : find_charset_in_str (*data_ret, *size_ret, charsets, Qnil, 1)); |
| 1624 | 1624 | ||
| 1625 | if (!num || (num == 1 && charsets[CHARSET_ASCII])) | 1625 | if (!num || (num == 1 && charsets[CHARSET_ASCII])) |
| 1626 | { | 1626 | { |