diff options
author | Jason Rumney <jasonr@gnu.org> | 2001-11-20 22:01:56 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2001-11-20 22:01:56 +0000 |
commit | 9b58c683a3b0979fe72106a8fa7a6c989f609665 (patch) | |
tree | c5b519039b9655f7a422678a39b799bfbb41c84a /src/coding.h | |
parent | 1fa3a2001dcc51605ca0080a5dd49640e78c4f44 (diff) | |
download | emacs-9b58c683a3b0979fe72106a8fa7a6c989f609665.tar.gz |
(Vw32_system_coding_system) [WINDOWSNT]: Remove.
(ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system.
Diffstat (limited to 'src/coding.h')
-rw-r--r-- | src/coding.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/coding.h b/src/coding.h index e3cab288062..69b5c69afbb 100644 --- a/src/coding.h +++ b/src/coding.h @@ -590,17 +590,17 @@ struct coding_system /* 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 @@ extern Lisp_Object Vfile_name_coding_system; 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 */ |