diff options
author | Karl Heuer <kwzh@gnu.org> | 1998-06-03 14:41:27 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1998-06-03 14:41:27 +0000 |
commit | a19f87079ae5c7b84848fbec57dc0cf25a92fd6c (patch) | |
tree | 41bf0fe7c019e6a7e67389cc2312e04ef07c6e6a /src | |
parent | ba77799cb24fd058ae7daa3c8052d934598fda9f (diff) | |
download | emacs-a19f87079ae5c7b84848fbec57dc0cf25a92fd6c.tar.gz |
(DECODE_FILE, ENCODE_FILE):
Use code_convert_string_norecord.
Diffstat (limited to 'src')
-rw-r--r-- | src/coding.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/coding.h b/src/coding.h index 5fa42643ca0..dc4d8c540c7 100644 --- a/src/coding.h +++ b/src/coding.h @@ -493,10 +493,10 @@ struct coding_system #define ENCODE_FILE(name) \ (! NILP (Vfile_name_coding_system) \ && XFASTINT (Vfile_name_coding_system) != 0 \ - ? Fencode_coding_string (name, Vfile_name_coding_system, Qt) \ + ? code_convert_string_norecord (name, Vfile_name_coding_system, 1) \ : (! NILP (Vdefault_file_name_coding_system) \ - && XFASTINT (Vdefault_file_name_coding_system) \ - ? Fencode_coding_string (name, Vdefault_file_name_coding_system, Qt) \ + && XFASTINT (Vdefault_file_name_coding_system) != 0 \ + ? code_convert_string_norecord (name, Vdefault_file_name_coding_system, 1) \ : name)) /* Decode the file name NAME using the specified coding system @@ -504,10 +504,10 @@ struct coding_system #define DECODE_FILE(name) \ (! NILP (Vfile_name_coding_system) \ && XFASTINT (Vfile_name_coding_system) != 0 \ - ? Fdecode_coding_string (name, Vfile_name_coding_system, Qt) \ + ? code_convert_string_norecord (name, Vfile_name_coding_system, 0) \ : (! NILP (Vdefault_file_name_coding_system) \ - && XFASTINT (Vdefault_file_name_coding_system) \ - ? Fdecode_coding_string (name, Vdefault_file_name_coding_system, Qt) \ + && XFASTINT (Vdefault_file_name_coding_system) != 0 \ + ? code_convert_string_norecord (name, Vdefault_file_name_coding_system, 0) \ : name)) /* Extern declarations. */ |