# HG changeset patch # User Chong Yidong # Date 1295727324 18000 # Node ID 5653bdbb0b32971b9ee5e744c5a08d2bb8c0b58b # Parent bc872de587fa7961b6a491a9489670d208df9c5f * vc/diff.el (diff-sentinel): Doc fix (Bug#7682). diff -r bc872de587fa -r 5653bdbb0b32 lisp/ChangeLog --- a/lisp/ChangeLog Sat Jan 22 15:12:51 2011 -0500 +++ b/lisp/ChangeLog Sat Jan 22 15:15:24 2011 -0500 @@ -1,3 +1,7 @@ +2011-01-22 Chong Yidong + + * vc/diff.el (diff-sentinel): Doc fix (Bug#7682). + 2011-01-22 Jari Aalto * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672). diff -r bc872de587fa -r 5653bdbb0b32 lisp/vc/diff.el --- a/lisp/vc/diff.el Sat Jan 22 15:12:51 2011 -0500 +++ b/lisp/vc/diff.el Sat Jan 22 15:15:24 2011 -0500 @@ -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