diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-05 17:57:26 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-05 17:57:26 +0000 |
commit | 1480197dbff0eaecd1306ea9ee966be68ba4cbe8 (patch) | |
tree | bc0919c4877007b62f509c85d1e6e3fafda81a77 | |
parent | 936b00f8b90b741b78b184de223bb169dc0ad2e5 (diff) | |
download | emacs-1480197dbff0eaecd1306ea9ee966be68ba4cbe8.tar.gz |
(vc-cancel-version): Fix paren error.
-rw-r--r-- | lisp/vc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc.el b/lisp/vc.el index 190cdc254be..ede3b3a4ad2 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -1618,8 +1618,8 @@ A prefix argument means do not revert the buffer afterwards." (pop-to-buffer vc-parent-buffer)) (cond ((not (vc-registered (buffer-file-name))) - (vc-registration-error (buffer-file-name)) - (eq (vc-backend (buffer-file-name)) 'CVS) + (vc-registration-error (buffer-file-name))) + ((eq (vc-backend (buffer-file-name)) 'CVS) (error "Unchecking files under CVS is dangerous and not supported in VC")) ((vc-locking-user (buffer-file-name)) (error "This version is locked; use vc-revert-buffer to discard changes")) |