aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThien-Thi Nguyen2008-01-24 15:09:24 +0000
committerThien-Thi Nguyen2008-01-24 15:09:24 +0000
commit845ec007da2bc3b649ca9ecf113fda697e9314cb (patch)
tree0f01661dfd5ef58e7ded76ac58c0606afa6f6369
parentd36122a23ef6b5d37215c7f892cc9e4f938818db (diff)
downloademacs-845ec007da2bc3b649ca9ecf113fda697e9314cb.tar.gz
emacs-845ec007da2bc3b649ca9ecf113fda697e9314cb.zip
(vc-diff-finish): Search all frames for the buffer's window.
-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