diff options
| author | Richard M. Stallman | 1994-09-14 09:15:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-14 09:15:46 +0000 |
| commit | 59750d69f8e43ccf753badbebef933db7638b771 (patch) | |
| tree | 57f8e0b8ed941cbf4d4c7759db7deffb00c9ff23 /src/callproc.c | |
| parent | 7930d72229d822c1d5ccff155a55dfdc8acd2125 (diff) | |
| download | emacs-59750d69f8e43ccf753badbebef933db7638b771.tar.gz emacs-59750d69f8e43ccf753badbebef933db7638b771.zip | |
(delete_temp_file): Use Fdelete_file.
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c index 990a48c4db9..1da4b4d5781 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -467,7 +467,9 @@ static Lisp_Object | |||
| 467 | delete_temp_file (name) | 467 | delete_temp_file (name) |
| 468 | Lisp_Object name; | 468 | Lisp_Object name; |
| 469 | { | 469 | { |
| 470 | unlink (XSTRING (name)->data); | 470 | /* Use Fdelete_file because that runs a file name handler. |
| 471 | We did that when writing the file, so we should do so when deleting. */ | ||
| 472 | Fdelete_file (name); | ||
| 471 | } | 473 | } |
| 472 | 474 | ||
| 473 | DEFUN ("call-process-region", Fcall_process_region, Scall_process_region, | 475 | DEFUN ("call-process-region", Fcall_process_region, Scall_process_region, |