mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 15:00:45 -08:00
(lisp_data_to_selection_data): Call
find_charset_in_str with CMPCHARP 1 to encode Lisp string if it contains a composite character.
This commit is contained in:
parent
25c343b25c
commit
e550dcb299
1 changed files with 1 additions and 1 deletions
|
|
@ -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]))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue