aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c
index c7804b485c7..eebbabb2739 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1020,9 +1020,11 @@ static Lisp_Object
1020delete_temp_file (name) 1020delete_temp_file (name)
1021 Lisp_Object name; 1021 Lisp_Object name;
1022{ 1022{
1023 /* Use Fdelete_file (indirectly) because that runs a file name handler. 1023 /* Suppress jka-compr handling, etc. */
1024 We did that when writing the file, so we should do so when deleting. */ 1024 int count = SPECPDL_INDEX ();
1025 specbind (intern ("file-name-handler-alist"), Qnil);
1025 internal_delete_file (name); 1026 internal_delete_file (name);
1027 unbind_to (count, Qnil);
1026 return Qnil; 1028 return Qnil;
1027} 1029}
1028 1030