diff options
| author | Thien-Thi Nguyen | 2008-01-24 15:09:24 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2008-01-24 15:09:24 +0000 |
| commit | 845ec007da2bc3b649ca9ecf113fda697e9314cb (patch) | |
| tree | 0f01661dfd5ef58e7ded76ac58c0606afa6f6369 | |
| parent | d36122a23ef6b5d37215c7f892cc9e4f938818db (diff) | |
| download | emacs-845ec007da2bc3b649ca9ecf113fda697e9314cb.tar.gz emacs-845ec007da2bc3b649ca9ecf113fda697e9314cb.zip | |
(vc-diff-finish): Search all frames for the buffer's window.
| -rw-r--r-- | lisp/vc.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 1994 | (let ((inhibit-read-only t)) | 1994 | (let ((inhibit-read-only t)) |
| 1995 | (insert "No differences found.\n"))) | 1995 | (insert "No differences found.\n"))) |
| 1996 | (goto-char (point-min)) | 1996 | (goto-char (point-min)) |
| 1997 | (let ((window (get-buffer-window (current-buffer)))) | 1997 | (let ((window (get-buffer-window (current-buffer) t))) |
| 1998 | (when window | 1998 | (when window |
| 1999 | (shrink-window-if-larger-than-buffer window)))))) | 1999 | (shrink-window-if-larger-than-buffer window)))))) |
| 2000 | 2000 | ||