diff options
Diffstat (limited to 'lisp/vc/diff.el')
-rw-r--r-- | lisp/vc/diff.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el index 0a853c5d902..b29f9c10b18 100644 --- a/lisp/vc/diff.el +++ b/lisp/vc/diff.el @@ -60,7 +60,9 @@ (defun diff-sentinel (code &optional old-temp-file new-temp-file) "Code run when the diff process exits. CODE is the exit code of the process. It should be 0 only if no diffs -were found." +were found. +If optional args OLD-TEMP-FILE and/or NEW-TEMP-FILE are non-nil, +delete the temporary files so named." (if old-temp-file (delete-file old-temp-file)) (if new-temp-file (delete-file new-temp-file)) (save-excursion |