--- Begin Message ---
Subject: |
23.0.94; vc-default-revision-granularity missing argument |
Date: |
Mon, 15 Jun 2009 12:26:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
Package: emacs,vc
Severity: minor
The function vc-default-revision-granularity should accept a backend
argument, but doesn't. This gives users of outdated third-party VC
backends confusing error messages at times.
To reproduce:
(progn
(provide 'vc-foo)
(vc-call-backend 'foo 'revision-granularity))
Expected: (error "Your backend will not work with this version of VC mode.")
Actual result: wrong-number-of-arguments
Regards,
Magnus
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#3570: 23.0.94; vc-default-revision-granularity missing argument |
Date: |
Mon, 15 Jun 2009 16:57:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
> The function vc-default-revision-granularity should accept a backend
> argument, but doesn't. This gives users of outdated third-party VC
> backends confusing error messages at times.
Thanks. I've simply removed it, since the default error message works
just as well (and better than `wrong arg number' in any case).
Stefan
--- End Message ---