summaryrefslogtreecommitdiff
path: root/lisp/vc/diff.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc/diff.el')
-rw-r--r--lisp/vc/diff.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el
index 2eefdee1836..6cfee52cbb5 100644
--- a/lisp/vc/diff.el
+++ b/lisp/vc/diff.el
@@ -67,6 +67,7 @@ delete the temporary files so named."
(if old-temp-file (delete-file old-temp-file))
(if new-temp-file (delete-file new-temp-file))
(diff-setup-whitespace)
+ (goto-char (point-min))
(save-excursion
(goto-char (point-max))
(let ((inhibit-read-only t))