aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-10-29 14:06:29 +0200
committerEli Zaretskii2023-10-29 14:06:29 +0200
commitf3a27180b7b22e8220f9d92d91ece835545da4aa (patch)
treeacd1e4ee4d5d751a08d7603bdf43da78065cd233
parentf80889b7247d42adb09f345bb6aa24010a6af33b (diff)
downloademacs-f3a27180b7b22e8220f9d92d91ece835545da4aa.tar.gz
emacs-f3a27180b7b22e8220f9d92d91ece835545da4aa.zip
; Fix a recent change in documentation of 'selection-coding-system'
* doc/lispref/frames.texi (Window System Selections): Fix description of the effect of 'selection-coding-system' on MS-Windows and MS-DOS.
-rw-r--r--doc/lispref/frames.texi37
1 files changed, 23 insertions, 14 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index fc36346f773..6193a4fe1cd 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -4058,20 +4058,29 @@ under X, and @xref{Other Selections} for those elsewhere.
4058 4058
4059@defopt selection-coding-system 4059@defopt selection-coding-system
4060This variable provides a coding system (@pxref{Coding Systems}) which 4060This variable provides a coding system (@pxref{Coding Systems}) which
4061is used to encode selection data, and takes effect on MS-DOS, 4061is used to encode selection data, and takes effect on MS-Windows and
4062MS-Windows and X@. 4062X@. It is also used in the MS-DOS port when it runs on MS-Windows and
4063 4063can access the Windows clipboard text.
4064Under MS-DOS and MS-Windows, it is the coding system by which all 4064
4065non-ASCII clipboard text will be encoded and decoded; if set under X, 4065On X, the value of this variable provides the coding system which
4066it provides the coding system calls to @code{gui-get-selection} will 4066@code{gui-get-selection} will use to decode selection data for a
4067decode selection data for a subset of text data types by, and also 4067subset of text data types, and also forces replies to selection
4068forces replies to selection requests for the polymorphic @code{TEXT} 4068requests for the polymorphic @code{TEXT} data type to be encoded by
4069data type to be encoded by the @code{compound-text-with-extensions} 4069the @code{compound-text-with-extensions} coding system rather than
4070coding system rather than Unicode. 4070Unicode.
4071 4071
4072Its default value is the system code page under MS-Windows 95, 98 or 4072On MS-Windows, this variable is generally ignored, as the MS-Windows
4073Me, @code{utf-16le-dos} under NT/W2K/XP, @code{iso-latin-1-dos} on 4073clipboard provides the information about decoding as part of the
4074MS-DOS, and @code{nil} elsewhere. 4074clipboard data, and uses either UTF-16 or locale-specific encoding
4075automatically as appropriate. We recommend to set the value of this
4076variable only on the older Windows 9X, as it is otherwise used only in
4077the very rare cases when the information provided by the clipboard
4078data is unusable for some reason.
4079
4080The default value of this variable is the system code page under
4081MS-Windows 95, 98 or Me, @code{utf-16le-dos} on Windows
4082NT/W2K/XP/Vista/7/8/10/11, @code{iso-latin-1-dos} on MS-DOS, and
4083@code{nil} elsewhere.
4075@end defopt 4084@end defopt
4076 4085
4077For backward compatibility, there are obsolete aliases 4086For backward compatibility, there are obsolete aliases