From: Richard M. Stallman Date: Wed, 5 Jun 1996 17:57:26 +0000 (+0000) Subject: (vc-cancel-version): Fix paren error. X-Git-Tag: emacs-19.34~526 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1694bd160307fdbd5d1627b8d7c14baa7eb9efbc;p=emacs.git (vc-cancel-version): Fix paren error. --- 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"))