aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2004-05-09 15:02:14 +0000
committerJason Rumney2004-05-09 15:02:14 +0000
commit4bf91535037f6d31a41cb27b089466b09e0d8263 (patch)
tree7372f8599a56885b6e89b5f246ae4f872fb0508a /src
parentb0efcd2ea327796d0ca54f33e4cb68230ff3c566 (diff)
downloademacs-4bf91535037f6d31a41cb27b089466b09e0d8263.tar.gz
emacs-4bf91535037f6d31a41cb27b089466b09e0d8263.zip
(Vw32_ansi_code_page): New Lisp variable.
(globals_of_w32fns): Set it.
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index f9a81a19992..b57e31b6ed2 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -234,6 +234,9 @@ Lisp_Object Qw32_charset_mac;
234Lisp_Object Qw32_charset_unicode; 234Lisp_Object Qw32_charset_unicode;
235#endif 235#endif
236 236
237/* The ANSI codepage. */
238Lisp_Object Vw32_ansi_code_page;
239
237/* Prefix for system colors. */ 240/* Prefix for system colors. */
238#define SYSTEM_COLOR_PREFIX "System" 241#define SYSTEM_COLOR_PREFIX "System"
239#define SYSTEM_COLOR_PREFIX_LEN (sizeof (SYSTEM_COLOR_PREFIX) - 1) 242#define SYSTEM_COLOR_PREFIX_LEN (sizeof (SYSTEM_COLOR_PREFIX) - 1)
@@ -8793,6 +8796,11 @@ void globals_of_w32fns ()
8793 /* ditto for GetClipboardSequenceNumber. */ 8796 /* ditto for GetClipboardSequenceNumber. */
8794 clipboard_sequence_fn = (ClipboardSequence_Proc) 8797 clipboard_sequence_fn = (ClipboardSequence_Proc)
8795 GetProcAddress (user32_lib, "GetClipboardSequenceNumber"); 8798 GetProcAddress (user32_lib, "GetClipboardSequenceNumber");
8799
8800 DEFVAR_INT ("w32-ansi-code-page",
8801 &Vw32_ansi_code_page,
8802 doc: /* The ANSI code page used by the system. */);
8803 XSETINT (Vw32_ansi_code_page, GetACP ());
8796} 8804}
8797 8805
8798#undef abort 8806#undef abort