# HG changeset patch # User Jason Rumney # Date 1006293716 0 # Node ID 08452025552831631d29142434a5dea05cc76e96 # Parent 482c520b29bae99891061f69feafcb92b9b45066 (Vw32_system_coding_system) [WINDOWSNT]: Remove. (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. diff -r 482c520b29ba -r 084520255528 src/coding.h --- a/src/coding.h Tue Nov 20 22:00:54 2001 +0000 +++ b/src/coding.h Tue Nov 20 22:01:56 2001 +0000 @@ -590,17 +590,17 @@ /* Encode the string STR using the specified coding system for w32 system functions, if any. */ #define ENCODE_SYSTEM(str) \ - (! NILP (Vw32_system_coding_system) \ - && XFASTINT (Vw32_system_coding_system) != 0 \ - ? code_convert_string_norecord (str, Vw32_system_coding_system, 1) \ + (! NILP (Vlocale_coding_system) \ + && XFASTINT (Vlocale_coding_system) != 0 \ + ? code_convert_string_norecord (str, Vlocale_coding_system, 1) \ : str) /* Decode the string STR using the specified coding system for w32 system functions, if any. */ #define DECODE_SYSTEM(name) \ - (! NILP (Vw32_system_coding_system) \ - && XFASTINT (Vw32_system_coding_system) != 0 \ - ? code_convert_string_norecord (str, Vw32_system_coding_system, 0) \ + (! NILP (Vlocale_coding_system) \ + && XFASTINT (Vlocale_coding_system) != 0 \ + ? code_convert_string_norecord (str, Vlocale_coding_system, 0) \ : str) #else /* WINDOWSNT */ @@ -707,10 +707,6 @@ Vfile_name_coding_system is nil. */ extern Lisp_Object Vdefault_file_name_coding_system; -#ifdef WINDOWSNT -/* Coding system for w32 system strings, or nil if none. */ -extern Lisp_Object Vw32_system_coding_system; -#endif #endif /* Error signaled when there's a problem with detecting coding system */