diff options
| author | André Spiegel | 1998-04-09 13:45:44 +0000 |
|---|---|---|
| committer | André Spiegel | 1998-04-09 13:45:44 +0000 |
| commit | dc08a6b5d0e9a9f02843a2bce2e1e5c030c7c1d4 (patch) | |
| tree | a13c26862a3c2268f287b28e6ae35e759a207bb9 | |
| parent | e4df16d0071a611af7c2834a85c5256e85b9ee1f (diff) | |
| download | emacs-dc08a6b5d0e9a9f02843a2bce2e1e5c030c7c1d4.tar.gz emacs-dc08a6b5d0e9a9f02843a2bce2e1e5c030c7c1d4.zip | |
(vc-next-action): Fixed bug that prevented registering files using C-x v v.
| -rw-r--r-- | lisp/vc.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/vc.el b/lisp/vc.el index 151cee9a6b5..cc9c2608517 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -5,7 +5,7 @@ | |||
| 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.218 1998/04/05 18:45:06 spiegel Exp spiegel $ | 8 | ;; $Id: vc.el,v 1.219 1998/04/05 18:54:35 spiegel Exp spiegel $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -960,8 +960,11 @@ merge in the changes into your working copy." | |||
| 960 | "Enter a change comment for the marked files." | 960 | "Enter a change comment for the marked files." |
| 961 | 'vc-next-action-dired)) | 961 | 'vc-next-action-dired)) |
| 962 | (throw 'nogo nil))) | 962 | (throw 'nogo nil))) |
| 963 | (vc-ensure-vc-buffer) | 963 | (while vc-parent-buffer |
| 964 | (vc-next-action-on-file buffer-file-name verbose))) | 964 | (pop-to-buffer vc-parent-buffer)) |
| 965 | (if buffer-file-name | ||
| 966 | (vc-next-action-on-file buffer-file-name verbose) | ||
| 967 | (error "Buffer %s is not associated with a file" (buffer-name))))) | ||
| 965 | 968 | ||
| 966 | ;;; These functions help the vc-next-action entry point | 969 | ;;; These functions help the vc-next-action entry point |
| 967 | 970 | ||