From 4a87f93e3f2c8e028a890c1da88de33e57b2d9c4 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Wed, 1 Apr 2009 20:01:14 +0000 Subject: [PATCH] (vc-mtn-register): Fix optional arguments. --- lisp/ChangeLog | 2 ++ lisp/vc-mtn.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 42aaaa40439..2c1aa57c6c2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2009-04-01 Dan Nicolaescu + * vc-mtn.el (vc-mtn-register): Fix optional arguments. + * vc-hooks.el (vc-name): Avoid calling vc-backend twice. (vc-mode-line): Accept and use an optional argument for the backend. diff --git a/lisp/vc-mtn.el b/lisp/vc-mtn.el index e051477818d..6e9237ec38e 100644 --- a/lisp/vc-mtn.el +++ b/lisp/vc-mtn.el @@ -151,7 +151,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." (t ?:)) branch))) -(defun vc-mtn-register (files &optional rest) +(defun vc-mtn-register (files &optional rev comment) (vc-mtn-command nil 0 files "add")) (defun vc-mtn-responsible-p (file) (vc-mtn-root file)) -- 2.39.5