Mercurial > emacs
comparison lisp/vc.el @ 22715:c015f24cda4c
(vc-finish-logentry): Only delete windows in the selected frame
displaying the *VC-log* buffer, in case another frame is dedicated to
it (which will then be deleted via kill-buffer).
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 08 Jul 1998 02:55:50 +0000 |
parents | 442d61eaab83 |
children | d023df160219 |
comparison
equal
deleted
inserted
replaced
22714:e632673d8975 | 22715:c015f24cda4c |
---|---|
3 ;; Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | 5 ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> |
6 ;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de> | 6 ;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de> |
7 | 7 |
8 ;; $Id: vc.el,v 1.232 1998/06/16 16:38:47 rms Exp eliz $ | 8 ;; $Id: vc.el,v 1.233 1998/06/21 14:29:07 eliz Exp rms $ |
9 | 9 |
10 ;; This file is part of GNU Emacs. | 10 ;; This file is part of GNU Emacs. |
11 | 11 |
12 ;; GNU Emacs is free software; you can redistribute it and/or modify | 12 ;; GNU Emacs is free software; you can redistribute it and/or modify |
13 ;; it under the terms of the GNU General Public License as published by | 13 ;; it under the terms of the GNU General Public License as published by |
1238 log-entry)) | 1238 log-entry)) |
1239 ;; Remove checkin window (after the checkin so that if that fails | 1239 ;; Remove checkin window (after the checkin so that if that fails |
1240 ;; we don't zap the *VC-log* buffer and the typing therein). | 1240 ;; we don't zap the *VC-log* buffer and the typing therein). |
1241 (let ((logbuf (get-buffer "*VC-log*"))) | 1241 (let ((logbuf (get-buffer "*VC-log*"))) |
1242 (cond (logbuf | 1242 (cond (logbuf |
1243 (delete-windows-on logbuf) | 1243 (delete-windows-on logbuf (selected-frame)) |
1244 (kill-buffer logbuf)))) | 1244 (kill-buffer logbuf)))) |
1245 ;; Now make sure we see the expanded headers | 1245 ;; Now make sure we see the expanded headers |
1246 (if buffer-file-name | 1246 (if buffer-file-name |
1247 (vc-resynch-window buffer-file-name vc-keep-workfiles t)) | 1247 (vc-resynch-window buffer-file-name vc-keep-workfiles t)) |
1248 (if vc-dired-mode | 1248 (if vc-dired-mode |