diff options
author | Richard M. Stallman <[email protected]> | 1994-09-14 09:15:46 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1994-09-14 09:15:46 +0000 |
commit | 59750d69f8e43ccf753badbebef933db7638b771 (patch) | |
tree | 57f8e0b8ed941cbf4d4c7759db7deffb00c9ff23 /src/callproc.c | |
parent | 7930d72229d822c1d5ccff155a55dfdc8acd2125 (diff) |
(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 990a48c4db..1da4b4d578 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -467,7 +467,9 @@ static Lisp_Object delete_temp_file (name) Lisp_Object name; { - unlink (XSTRING (name)->data); + /* Use Fdelete_file because that runs a file name handler. + We did that when writing the file, so we should do so when deleting. */ + Fdelete_file (name); } DEFUN ("call-process-region", Fcall_process_region, Scall_process_region, |