# HG changeset patch # User Dan Nicolaescu # Date 1238616074 0 # Node ID 62b984273010b15335c050b67ae51d84ffc75f77 # Parent 00247bf9b43882c32a94a981df610adaeabdb37a (vc-mtn-register): Fix optional arguments. diff -r 00247bf9b438 -r 62b984273010 lisp/ChangeLog --- a/lisp/ChangeLog Wed Apr 01 15:42:09 2009 +0000 +++ b/lisp/ChangeLog Wed Apr 01 20:01:14 2009 +0000 @@ -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 -r 00247bf9b438 -r 62b984273010 lisp/vc-mtn.el --- a/lisp/vc-mtn.el Wed Apr 01 15:42:09 2009 +0000 +++ b/lisp/vc-mtn.el Wed Apr 01 20:01:14 2009 +0000 @@ -151,7 +151,7 @@ (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))