diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 868948c3a35..e7192e092d9 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1144,7 +1144,7 @@ For a regular checkin, FILES is the list of files to check in. To check in a patch, PATCH-STRING is the patch text. It is an error to supply both or neither." (unless (xor files patch-string) - (error "Invalid call to `vc-hg--checkin'")) + (error "Invalid call to `vc-git--checkin'")) (let* ((file1 (or (car files) default-directory)) (root (vc-git-root file1)) (default-directory (expand-file-name root))