Commit 4a87f93e authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(vc-mtn-register): Fix optional arguments.

parent 32ca5ee4
2009-04-01 Dan Nicolaescu <dann@ics.uci.edu>
 
* 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.
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment