From 845ec007da2bc3b649ca9ecf113fda697e9314cb Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Thu, 24 Jan 2008 15:09:24 +0000 Subject: [PATCH] (vc-diff-finish): Search all frames for the buffer's window. --- lisp/vc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))))) -- 2.39.2