aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2009-04-01 20:01:14 +0000
committerDan Nicolaescu2009-04-01 20:01:14 +0000
commit4a87f93e3f2c8e028a890c1da88de33e57b2d9c4 (patch)
treed5d41e659b6c866f7001fef2a0a3098c2c0e9afb
parent32ca5ee4f7ef217724fb3ad0836ef88959f1ba08 (diff)
downloademacs-4a87f93e3f2c8e028a890c1da88de33e57b2d9c4.tar.gz
emacs-4a87f93e3f2c8e028a890c1da88de33e57b2d9c4.zip
(vc-mtn-register): Fix optional arguments.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/vc-mtn.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 42aaaa40439..2c1aa57c6c2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12009-04-01 Dan Nicolaescu <dann@ics.uci.edu> 12009-04-01 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * vc-mtn.el (vc-mtn-register): Fix optional arguments.
4
3 * vc-hooks.el (vc-name): Avoid calling vc-backend twice. 5 * vc-hooks.el (vc-name): Avoid calling vc-backend twice.
4 (vc-mode-line): Accept and use an optional argument for the 6 (vc-mode-line): Accept and use an optional argument for the
5 backend. 7 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."
151 (t ?:)) 151 (t ?:))
152 branch))) 152 branch)))
153 153
154(defun vc-mtn-register (files &optional rest) 154(defun vc-mtn-register (files &optional rev comment)
155 (vc-mtn-command nil 0 files "add")) 155 (vc-mtn-command nil 0 files "add"))
156 156
157(defun vc-mtn-responsible-p (file) (vc-mtn-root file)) 157(defun vc-mtn-responsible-p (file) (vc-mtn-root file))