summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/python-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 0cd3dd5..70faf2c 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -1016,7 +1016,7 @@ Electric behavior is inhibited inside a string or comment."
(set-buffer curbuf)
(if file-finished
(progn
- (py-delete-file-silently (car py-file-queue))
+ (py-safe (delete-file (car py-file-queue)))
(setq py-file-queue (cdr py-file-queue))
(if py-file-queue
(py-execute-file pyproc (car py-file-queue)))))