Stefan Reichör <[EMAIL PROTECTED]> writes:

> Committed revision 373 to http://bzr.xsteve.at/dvc/
>
> xgit-dvc-missing: Added the optional other argument to make it
> callable again via M-x dvc-missing 

Sorry about that. I forgot that when I did:

    (dvc-call "dvc-missing" other)

it would break any declarations that left out the optional 'other'
arg.

xdargs has the same problem; I've fixed it.

Is there a way to write this to avoid that problem?

It would be nice if the byte-compiler had warned me, but I guess
that's too much to expect for dvc-call.

Hmm. If dvc-call were a macro that expanded into a case statement on
dvc, then there would be an explicit call to xgit-dvc-missing, and the
arg list would be checked by the byte-compiler. But that's a big
change, and handling the cases where the back-end function isn't
declared would be complicated, so it's probably not worth it.

-- 
-- Stephe

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to