# HG changeset patch # User Kenichi Handa # Date 1173161461 0 # Node ID 76442164daf161d454a671cf42a67d24103ad043 # Parent 318b0d9919a65c2b7e3d8b874c9f5d86cfa4c1f6 (Vselection_coding_system): Documentation improved. diff -r 318b0d9919a6 -r 76442164daf1 src/xselect.c --- a/src/xselect.c Tue Mar 06 05:50:48 2007 +0000 +++ b/src/xselect.c Tue Mar 06 06:11:01 2007 +0000 @@ -2975,8 +2975,17 @@ DEFVAR_LISP ("selection-coding-system", &Vselection_coding_system, doc: /* Coding system for communicating with other X clients. -When sending or receiving text via selection and clipboard, the text is -encoded or decoded by this coding system. + +When sending text via selection and clipboard, if the requested +data-type is not "UTF8_STRING", the text is encoded by this coding +system. + +When receiving text, if the data-type of the received text is not +"UTF8_STRING", it is decoded by this coding system. + +See also the documentation of the variable `x-select-request-type' how +to control which data-type to request for receiving text. + The default value is `compound-text-with-extensions'. */); Vselection_coding_system = intern ("compound-text-with-extensions");