changeset 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 8b1791fcbc5b
children d77b6e5ee8af
files lisp/vc.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))))))