Mercurial > emacs
changeset 47302:9f4e1e4aded6
(diff-buffer-with-file): Call diff synchronously, so we don't delete
the temporary file before diff has a chance to read it.
author | Colin Walters <walters@gnu.org> |
---|---|
date | Sat, 07 Sep 2002 21:30:37 +0000 |
parents | bac8aaf18835 |
children | d33f4de2e8e8 |
files | lisp/files.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Sat Sep 07 21:30:19 2002 +0000 +++ b/lisp/files.el Sat Sep 07 21:30:37 2002 +0000 @@ -3008,7 +3008,7 @@ (save-restriction (widen) (write-region (point-min) (point-max) tempfile nil 'nomessage))) - (diff buf-filename tempfile)) + (diff buf-filename tempfile nil t)) (when (file-exists-p tempfile) (delete-file tempfile))) nil)))