From: Dan Nicolaescu Date: Wed, 1 Apr 2009 20:01:14 +0000 (+0000) Subject: (vc-mtn-register): Fix optional arguments. X-Git-Tag: emacs-pretest-23.0.93~257 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a87f93e3f2c8e028a890c1da88de33e57b2d9c4;p=emacs.git (vc-mtn-register): Fix optional arguments. --- 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))