[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/coding.h
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/src/coding.h |
Date: |
Wed, 16 Mar 2005 19:37:35 -0500 |
Index: emacs/src/coding.h
diff -c emacs/src/coding.h:1.70 emacs/src/coding.h:1.71
*** emacs/src/coding.h:1.70 Tue Nov 30 08:01:45 2004
--- emacs/src/coding.h Thu Mar 17 00:37:35 2005
***************
*** 1,5 ****
/* Header for coding system handler.
! Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 1995, 1997 Electrotechnical Laboratory, JAPAN.
Licensed to the Free Software Foundation.
--- 1,5 ----
/* Header for coding system handler.
! Copyright (C) 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 1995, 1997 Electrotechnical Laboratory, JAPAN.
Licensed to the Free Software Foundation.
***************
*** 591,599 ****
? code_convert_string_norecord (name, Vdefault_file_name_coding_system,
0) \
: name))
- #ifdef WINDOWSNT
/* Encode the string STR using the specified coding system
! for w32 system functions, if any. */
#define ENCODE_SYSTEM(str) \
(! NILP (Vlocale_coding_system) \
&& !EQ (Vlocale_coding_system, make_number (0)) \
--- 591,598 ----
? code_convert_string_norecord (name, Vdefault_file_name_coding_system,
0) \
: name))
/* Encode the string STR using the specified coding system
! for system functions, if any. */
#define ENCODE_SYSTEM(str) \
(! NILP (Vlocale_coding_system) \
&& !EQ (Vlocale_coding_system, make_number (0)) \
***************
*** 601,620 ****
: str)
/* Decode the string STR using the specified coding system
! for w32 system functions, if any. */
#define DECODE_SYSTEM(name) \
(! NILP (Vlocale_coding_system) \
&& !EQ (Vlocale_coding_system, make_number (0)) \
? code_convert_string_norecord (str, Vlocale_coding_system, 0) \
: str)
- #else /* WINDOWSNT */
-
- #define ENCODE_SYSTEM(str) string_make_unibyte(str)
- #define DECODE_SYSTEM(name) name
-
- #endif /* !WINDOWSNT */
-
#define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1)
/* Extern declarations. */
--- 600,612 ----
: str)
/* Decode the string STR using the specified coding system
! for system functions, if any. */
#define DECODE_SYSTEM(name) \
(! NILP (Vlocale_coding_system) \
&& !EQ (Vlocale_coding_system, make_number (0)) \
? code_convert_string_norecord (str, Vlocale_coding_system, 0) \
: str)
#define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1)
/* Extern declarations. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/coding.h,
Stefan Monnier <=