changeset 21053:77d489dd420a

(Vdefault_file_name_coding_system): Extern it. (Fcall_process): Use ENCODE_FILE.
author Kenichi Handa <handa@m17n.org>
date Tue, 03 Mar 1998 07:18:46 +0000
parents eea2c6235bd1
children 5d592343630f
files src/callproc.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Tue Mar 03 07:18:46 1998 +0000
+++ b/src/callproc.c	Tue Mar 03 07:18:46 1998 +0000
@@ -120,7 +120,7 @@
 
 extern Lisp_Object Vdoc_file_name;
 
-extern Lisp_Object Vfile_name_coding_system;
+extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system;
 
 /* Clean up when exiting Fcall_process.
    On MSDOS, delete the temporary file on any kind of termination.
@@ -552,8 +552,7 @@
 				  Qnil));
       }
 
-    current_dir
-      = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt);
+    current_dir = ENCODE_FILE (current_dir);
 
 #ifdef MSDOS /* MW, July 1993 */
     /* ??? Someone who knows MSDOG needs to check whether this properly