diff options
author | Dan Nicolaescu <[email protected]> | 2009-04-01 20:01:14 +0000 |
---|---|---|
committer | Dan Nicolaescu <[email protected]> | 2009-04-01 20:01:14 +0000 |
commit | 4a87f93e3f2c8e028a890c1da88de33e57b2d9c4 (patch) | |
tree | d5d41e659b6c866f7001fef2a0a3098c2c0e9afb | |
parent | 32ca5ee4f7ef217724fb3ad0836ef88959f1ba08 (diff) |
(vc-mtn-register): Fix optional arguments.
-rw-r--r-- | lisp/ChangeLog | 2 | ||||
-rw-r--r-- | lisp/vc-mtn.el | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 42aaaa4043..2c1aa57c6c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2009-04-01 Dan Nicolaescu <[email protected]> + * 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 e051477818..6e9237ec38 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)) |