From: Thien-Thi Nguyen Date: Thu, 24 Jan 2008 15:09:24 +0000 (+0000) Subject: (vc-diff-finish): Search all frames for the buffer's window. X-Git-Tag: emacs-pretest-23.0.90~8434 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=845ec007da2bc3b649ca9ecf113fda697e9314cb;p=emacs.git (vc-diff-finish): Search all frames for the buffer's window. --- 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." (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))))))