diff options
| author | Richard M. Stallman | 1997-09-09 05:32:07 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-09-09 05:32:07 +0000 |
| commit | 89e1ec1dd0060c6d90455de884ae1d42dcb1ed13 (patch) | |
| tree | d9daebbb765a9282ce217eb21d17fbafafd7b459 /src | |
| parent | a932f187fbb0c66e9715c087490cd3c848588b3a (diff) | |
| download | emacs-89e1ec1dd0060c6d90455de884ae1d42dcb1ed13.tar.gz emacs-89e1ec1dd0060c6d90455de884ae1d42dcb1ed13.zip | |
(Fcall_process): Encode the new current dir.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index 08eb9331a37..18bed61738c 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -119,6 +119,8 @@ char *synch_process_death; | |||
| 119 | int synch_process_retcode; | 119 | int synch_process_retcode; |
| 120 | 120 | ||
| 121 | extern Lisp_Object Vdoc_file_name; | 121 | extern Lisp_Object Vdoc_file_name; |
| 122 | |||
| 123 | extern Lisp_Object Vfile_name_coding_system; | ||
| 122 | 124 | ||
| 123 | /* Clean up when exiting Fcall_process. | 125 | /* Clean up when exiting Fcall_process. |
| 124 | On MSDOS, delete the temporary file on any kind of termination. | 126 | On MSDOS, delete the temporary file on any kind of termination. |
| @@ -528,6 +530,10 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") | |||
| 528 | ? build_string (NULL_DEVICE) : error_file), | 530 | ? build_string (NULL_DEVICE) : error_file), |
| 529 | Qnil)); | 531 | Qnil)); |
| 530 | } | 532 | } |
| 533 | |||
| 534 | current_dir | ||
| 535 | = Fencode_coding_string (current_dir, Vfile_name_coding_system, Qt); | ||
| 536 | |||
| 531 | #ifdef MSDOS /* MW, July 1993 */ | 537 | #ifdef MSDOS /* MW, July 1993 */ |
| 532 | /* ??? Someone who knows MSDOG needs to check whether this properly | 538 | /* ??? Someone who knows MSDOG needs to check whether this properly |
| 533 | closes all descriptors that it opens. | 539 | closes all descriptors that it opens. |