aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker1998-11-04 23:42:04 +0000
committerGeoff Voelker1998-11-04 23:42:04 +0000
commit484fa2c1ecd619f1bf26a6d1e2e206d55b4805d6 (patch)
tree86a5b828a1c3df5bce347fadb351c7896b5dbf4b /src
parentbc6af9357cc4e039f50ca7690f5253ba1069bd29 (diff)
downloademacs-484fa2c1ecd619f1bf26a6d1e2e206d55b4805d6.tar.gz
emacs-484fa2c1ecd619f1bf26a6d1e2e206d55b4805d6.zip
(w32_enable_unicode_output): Rename from
w32_no_unicode_output. (w32_use_unicode_for_codepage, syms_of_w32term): Use new name and new semantics.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 2256155f131..dcfaf6aac3a 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -132,10 +132,10 @@ static int highlight;
132static int curs_x; 132static int curs_x;
133static int curs_y; 133static int curs_y;
134 134
135/* Flag to disable Unicode output in case users wish to use programs 135/* Flag to enable Unicode output in case users wish to use programs
136 like Twinbridge on '95 rather than installed system level support 136 like Twinbridge on '95 rather than installed system level support
137 for Far East languages. */ 137 for Far East languages. */
138int w32_no_unicode_output; 138int w32_enable_unicode_output;
139 139
140DWORD dwWindowsThreadId = 0; 140DWORD dwWindowsThreadId = 0;
141HANDLE hWindowsThread = NULL; 141HANDLE hWindowsThread = NULL;
@@ -558,7 +558,7 @@ BOOL
558w32_use_unicode_for_codepage (codepage) 558w32_use_unicode_for_codepage (codepage)
559{ 559{
560 /* If the current codepage is supported, use Unicode for output. */ 560 /* If the current codepage is supported, use Unicode for output. */
561 return (!w32_no_unicode_output 561 return (w32_enable_unicode_output
562 && codepage != CP_DEFAULT && IsValidCodePage (codepage)); 562 && codepage != CP_DEFAULT && IsValidCodePage (codepage));
563} 563}
564 564
@@ -5169,12 +5169,12 @@ When nil, the right-alt and left-ctrl key combination is\n\
5169interpreted normally."); 5169interpreted normally.");
5170 Vw32_recognize_altgr = Qt; 5170 Vw32_recognize_altgr = Qt;
5171 5171
5172 DEFVAR_BOOL ("w32-no-unicode-output", 5172 DEFVAR_BOOL ("w32-enable-unicode-output",
5173 &w32_no_unicode_output, 5173 &w32_enable_unicode_output,
5174 "Disable the use of Unicode for text output if non-nil.\n\ 5174 "Enable the use of Unicode for text output if non-nil.\n\
5175Unicode output may prevent some third party applications for displaying\n\ 5175Unicode output may prevent some third party applications for displaying\n\
5176Far-East Languages on Windows 95/98 from working properly.\n\ 5176Far-East Languages on Windows 95/98 from working properly.\n\
5177NT uses Unicode internally anyway, so this flag will probably have no\n\ 5177NT uses Unicode internally anyway, so this flag will probably have no\n\
5178affect on NT machines."); 5178affect on NT machines.");
5179 w32_no_unicode_output = 0; 5179 w32_enable_unicode_output = 1;
5180} 5180}