Commit 59750d69 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(delete_temp_file): Use Fdelete_file.

parent 7930d722
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment