diff options
Diffstat (limited to 'src')
| -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, |