Mercurial > emacs
changeset 102812:62b984273010
(vc-mtn-register): Fix optional arguments.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 01 Apr 2009 20:01:14 +0000 |
parents | 00247bf9b438 |
children | 2c37faeb7d5e |
files | lisp/ChangeLog lisp/vc-mtn.el |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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.
--- 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))