summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-05 17:57:26 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-05 17:57:26 +0000
commit1480197dbff0eaecd1306ea9ee966be68ba4cbe8 (patch)
treebc0919c4877007b62f509c85d1e6e3fafda81a77
parent936b00f8b90b741b78b184de223bb169dc0ad2e5 (diff)
downloademacs-1480197dbff0eaecd1306ea9ee966be68ba4cbe8.tar.gz
(vc-cancel-version): Fix paren error.
-rw-r--r--lisp/vc.el4
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"))