aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-09-14 09:15:46 +0000
committerRichard M. Stallman1994-09-14 09:15:46 +0000
commit59750d69f8e43ccf753badbebef933db7638b771 (patch)
tree57f8e0b8ed941cbf4d4c7759db7deffb00c9ff23 /src/callproc.c
parent7930d72229d822c1d5ccff155a55dfdc8acd2125 (diff)
downloademacs-59750d69f8e43ccf753badbebef933db7638b771.tar.gz
emacs-59750d69f8e43ccf753badbebef933db7638b771.zip
(delete_temp_file): Use Fdelete_file.
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c4
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
467delete_temp_file (name) 467delete_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
473DEFUN ("call-process-region", Fcall_process_region, Scall_process_region, 475DEFUN ("call-process-region", Fcall_process_region, Scall_process_region,