Mercurial > emacs
diff lisp/select.el @ 111136:bc1274182cc8
Sync docs of selection-coding-system between C and Lisp.
* src/w16select.c (syms_of_win16select) <selection-coding-system>:
* src/w32select.c (syms_of_w32select) <selection-coding-system>:
Sync docs with select.el.
* lisp/select.el (selection-coding-system): Sync doc with C versions.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 23 Oct 2010 19:22:43 -0700 |
parents | 600f564fdc23 |
children | 029e4783cbae |
line wrap: on
line diff
--- a/lisp/select.el Sat Oct 23 19:13:37 2010 -0700 +++ b/lisp/select.el Sat Oct 23 19:22:43 2010 -0700 @@ -28,8 +28,15 @@ ;;; Code: (defcustom selection-coding-system nil - "Coding system for communicating with other X clients. + "Coding system for communicating with other programs. +For MS-Windows and MS-DOS: +When sending or receiving text via selection and clipboard, the text +is encoded or decoded by this coding system. The default value is +the current system default encoding on 9x/Me, `utf-16le-dos' +\(Unicode) on NT/W2K/XP, and `iso-latin-1-dos' on MS-DOS. + +For X Windows: When sending text via selection and clipboard, if the target data-type matches with the type of this coding system, it is used for encoding the text. Otherwise (including the case that this