From 1694bd160307fdbd5d1627b8d7c14baa7eb9efbc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 5 Jun 1996 17:57:26 +0000 Subject: [PATCH] (vc-cancel-version): Fix paren error. --- lisp/vc.el | 4 ++-- 1 file 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")) -- 2.39.2