From 2ebcda4da0683f0c9102779bde13843795d6db78 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 19 Sep 2015 20:57:59 +0300 Subject: [PATCH] Adapt vc-src to the old-new vc-checkin API * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an additional optional parameter. --- lisp/vc/vc-src.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/vc/vc-src.el b/lisp/vc/vc-src.el index d9aa1b13e88..69e403668b1 100644 --- a/lisp/vc/vc-src.el +++ b/lisp/vc/vc-src.el @@ -227,7 +227,7 @@ This function differs from vc-do-command in that it invokes `vc-src-program'." file (file-name-directory file))))) -(defun vc-src-checkin (files comment) +(defun vc-src-checkin (files comment &optional _rev) "SRC-specific version of `vc-backend-checkin'. REV is ignored." (vc-src-command nil files "commit" "-m" comment)) -- 2.11.4.GIT