Mercurial > emacs
changeset 22342:cb6d24cf71e6
(DECODE_FILE, ENCODE_FILE):
Use code_convert_string_norecord.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 03 Jun 1998 14:41:27 +0000 |
parents | 572ba933a4bf |
children | 542ccfb606c3 |
files | src/coding.h |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.h Wed Jun 03 14:41:07 1998 +0000 +++ b/src/coding.h Wed Jun 03 14:41:27 1998 +0000 @@ -493,10 +493,10 @@ #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 @@ #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. */