aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorKen Raeburn2006-01-03 08:24:37 +0000
committerKen Raeburn2006-01-03 08:24:37 +0000
commit1a271e14d73298ecc665993ac7d0087ab2a66f92 (patch)
tree30fa4dde2840ab785f4b8828972428be7829fb8a /src/callproc.c
parentaf43518401786b4745d27811df65d9d615780f31 (diff)
downloademacs-1a271e14d73298ecc665993ac7d0087ab2a66f92.tar.gz
emacs-1a271e14d73298ecc665993ac7d0087ab2a66f92.zip
(delete_temp_file): Bind file-name-handler-alist to nil for the call
to internal_delete_file.
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 a9b9d2bff6a..b0fe16e70b8 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1013,9 +1013,11 @@ static Lisp_Object
1013delete_temp_file (name) 1013delete_temp_file (name)
1014 Lisp_Object name; 1014 Lisp_Object name;
1015{ 1015{
1016 /* Use Fdelete_file (indirectly) because that runs a file name handler. 1016 /* Suppress jka-compr handling, etc. */
1017 We did that when writing the file, so we should do so when deleting. */ 1017 int count = SPECPDL_INDEX ();
1018 specbind (intern ("file-name-handler-alist"), Qnil);
1018 internal_delete_file (name); 1019 internal_delete_file (name);
1020 unbind_to (count, Qnil);
1019 return Qnil; 1021 return Qnil;
1020} 1022}
1021 1023