# HG changeset patch # User Thien-Thi Nguyen # Date 1201187364 0 # Node ID 657fb7a7fe8ebdc32e1dc304fcd6f0dc271a948a # Parent 8b1791fcbc5b654f042254ccbdcb2482327d8661 (vc-diff-finish): Search all frames for the buffer's window. diff -r 8b1791fcbc5b -r 657fb7a7fe8e lisp/vc.el --- 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))))))