mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 21:41:40 -07:00
(vc-cancel-version): Fix paren error.
This commit is contained in:
parent
880169e2c3
commit
1694bd1603
1 changed files with 2 additions and 2 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue