Mercurial > emacs
changeset 112428:5653bdbb0b32
* vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 22 Jan 2011 15:15:24 -0500 |
parents | bc872de587fa |
children | 6e50030da731 |
files | lisp/ChangeLog lisp/vc/diff.el |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <cyd@stupidchicken.com> + + * vc/diff.el (diff-sentinel): Doc fix (Bug#7682). + 2011-01-22 Jari Aalto <jari.aalto@cante.net> * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
--- 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