aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/vc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 9d1c6682c4d..35c371a6038 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -1994,7 +1994,7 @@ the buffer contents as a comment."
1994 (let ((inhibit-read-only t)) 1994 (let ((inhibit-read-only t))
1995 (insert "No differences found.\n"))) 1995 (insert "No differences found.\n")))
1996 (goto-char (point-min)) 1996 (goto-char (point-min))
1997 (let ((window (get-buffer-window (current-buffer)))) 1997 (let ((window (get-buffer-window (current-buffer) t)))
1998 (when window 1998 (when window
1999 (shrink-window-if-larger-than-buffer window)))))) 1999 (shrink-window-if-larger-than-buffer window))))))
2000 2000