changeset 41322:482c520b29ba

(Vw32_system_coding_system): Remove. (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system.
author Jason Rumney <jasonr@gnu.org>
date Tue, 20 Nov 2001 22:00:54 +0000
parents 8e388f1d8196
children 084520255528
files src/w32fns.c
diffstat 1 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Tue Nov 20 21:55:51 2001 +0000
+++ b/src/w32fns.c	Tue Nov 20 22:00:54 2001 +0000
@@ -177,8 +177,6 @@
 /* Alist of bdf fonts and the files that define them.  */
 Lisp_Object Vw32_bdf_filename_alist;
 
-Lisp_Object Vw32_system_coding_system;
-
 /* A flag to control whether fonts are matched strictly or not.  */
 int w32_strict_fontnames;
 
@@ -6242,7 +6240,7 @@
   else
     fonttype = "unknown";
 
-  setup_coding_system (Fcheck_coding_system (Vw32_system_coding_system),
+  setup_coding_system (Fcheck_coding_system (Vlocale_coding_system),
                        &coding);
   coding.src_multibyte = 0;
   coding.dst_multibyte = 1;
@@ -6374,7 +6372,7 @@
 	  unsigned char *buf;
 
           setup_coding_system
-            (Fcheck_coding_system (Vw32_system_coding_system), &coding);
+            (Fcheck_coding_system (Vlocale_coding_system), &coding);
 	  coding.src_multibyte = 1;
 	  coding.dst_multibyte = 1;
 	  bufsize = encoding_buffer_size (&coding, strlen (name));
@@ -14493,11 +14491,6 @@
 only be necessary if the default setting causes problems.  */);
   w32_strict_painting = 1;
 
-  DEFVAR_LISP ("w32-system-coding-system",
-               &Vw32_system_coding_system,
-	       doc: /* Coding system used by Windows system functions, such as for font names.  */);
-  Vw32_system_coding_system = Qnil;
-
   DEFVAR_LISP ("w32-charset-info-alist",
                &Vw32_charset_info_alist,
                doc: /* Alist linking Emacs character sets to Windows fonts and codepages.