diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/callproc.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6ad7c939bce..6ee440f4cf2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-01-03 Ken Raeburn <raeburn@mit.edu> | ||
| 2 | |||
| 3 | * callproc.c (delete_temp_file): Bind file-name-handler-alist to | ||
| 4 | nil for the call to internal_delete_file. | ||
| 5 | |||
| 1 | 2006-01-01 Ken Raeburn <raeburn@gnu.org> | 6 | 2006-01-01 Ken Raeburn <raeburn@gnu.org> |
| 2 | 7 | ||
| 3 | * callproc.c (Fcall_process_region): Bind file-name-handler-alist | 8 | * callproc.c (Fcall_process_region): Bind file-name-handler-alist |
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 | |||
| 1013 | delete_temp_file (name) | 1013 | delete_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 | ||