diff lisp/vc.el @ 87940:657fb7a7fe8e

(vc-diff-finish): Search all frames for the buffer's window.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Thu, 24 Jan 2008 15:09:24 +0000
parents bcbe422dacdd
children 24ee99ee0e23
line wrap: on
line diff
--- a/lisp/vc.el	Thu Jan 24 13:09:13 2008 +0000
+++ b/lisp/vc.el	Thu Jan 24 15:09:24 2008 +0000
@@ -1994,7 +1994,7 @@
            (let ((inhibit-read-only t))
              (insert "No differences found.\n")))
       (goto-char (point-min))
-      (let ((window (get-buffer-window (current-buffer))))
+      (let ((window (get-buffer-window (current-buffer) t)))
         (when window
           (shrink-window-if-larger-than-buffer window))))))