aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/diff.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/diff.el')
-rw-r--r--lisp/diff.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/diff.el b/lisp/diff.el
index 0206c17e770..37e52baaaac 100644
--- a/lisp/diff.el
+++ b/lisp/diff.el
@@ -64,8 +64,9 @@
64 "Code run when the diff process exits. 64 "Code run when the diff process exits.
65CODE is the exit code of the process. It should be 0 only if no diffs 65CODE is the exit code of the process. It should be 0 only if no diffs
66were found." 66were found."
67 (if diff-old-temp-file (delete-file diff-old-temp-file)) 67 (let (delete-by-moving-to-trash)
68 (if diff-new-temp-file (delete-file diff-new-temp-file)) 68 (if diff-old-temp-file (delete-file diff-old-temp-file))
69 (if diff-new-temp-file (delete-file diff-new-temp-file)))
69 (save-excursion 70 (save-excursion
70 (goto-char (point-max)) 71 (goto-char (point-max))
71 (let ((inhibit-read-only t)) 72 (let ((inhibit-read-only t))