1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 14:10:47 -08:00

(vc-diff-finish): Search all frames for the buffer's window.

This commit is contained in:
Thien-Thi Nguyen 2008-01-24 15:09:24 +00:00
parent d36122a23e
commit 845ec007da

View file

@ -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))))))