diff options
| author | Kenichi Handa | 2000-07-21 02:39:45 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-07-21 02:39:45 +0000 |
| commit | 11270583fe28b5af6b2c19862af597e8d676783d (patch) | |
| tree | 03e8518728e2fa1610db9cac268aa923b0a42c67 /src/xselect.c | |
| parent | d60660d6e9121bd2fc5184a5e9fea6a5d98dc39d (diff) | |
| download | emacs-11270583fe28b5af6b2c19862af597e8d676783d.tar.gz emacs-11270583fe28b5af6b2c19862af597e8d676783d.zip | |
*** empty log message ***
Diffstat (limited to 'src/xselect.c')
| -rw-r--r-- | src/xselect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xselect.c b/src/xselect.c index dba8289ccda..ac260160781 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -1648,17 +1648,17 @@ lisp_data_to_selection_data (display, obj, | |||
| 1648 | { | 1648 | { |
| 1649 | /* Since we are now handling multilingual text, we must consider | 1649 | /* Since we are now handling multilingual text, we must consider |
| 1650 | sending back compound text. */ | 1650 | sending back compound text. */ |
| 1651 | int latin1_p; | 1651 | int stringp; |
| 1652 | 1652 | ||
| 1653 | if (NILP (Vnext_selection_coding_system)) | 1653 | if (NILP (Vnext_selection_coding_system)) |
| 1654 | Vnext_selection_coding_system = Vselection_coding_system; | 1654 | Vnext_selection_coding_system = Vselection_coding_system; |
| 1655 | 1655 | ||
| 1656 | *format_ret = 8; | 1656 | *format_ret = 8; |
| 1657 | *data_ret = x_encode_text (obj, Vnext_selection_coding_system, | 1657 | *data_ret = x_encode_text (obj, Vnext_selection_coding_system, |
| 1658 | (int *) size_ret, &latin1_p); | 1658 | (int *) size_ret, &stringp); |
| 1659 | *nofree_ret = (*data_ret == XSTRING (obj)->data); | 1659 | *nofree_ret = (*data_ret == XSTRING (obj)->data); |
| 1660 | if (NILP (type)) | 1660 | if (NILP (type)) |
| 1661 | type = (latin1_p ? QSTRING : QCOMPOUND_TEXT); | 1661 | type = (stringp ? QSTRING : QCOMPOUND_TEXT); |
| 1662 | Vlast_coding_system_used = (*nofree_ret | 1662 | Vlast_coding_system_used = (*nofree_ret |
| 1663 | ? Qraw_text | 1663 | ? Qraw_text |
| 1664 | : Vnext_selection_coding_system); | 1664 | : Vnext_selection_coding_system); |