Subject: Re: bug#2604: 23.0.91; key bindings in vc-annotate incompatible w/ Emacs 22

From: Stefan Monnier <[email-masked]>
Date: Mon, 09 Mar 2009 20:59:50 -0400

> --8<---------------cut here---------------start------------->8---
> --- vc-annotate.el	09 Jan 2009 09:52:59 +0100	1.7
> +++ vc-annotate.el	09 Mar 2009 20:35:28 +0100	
> @@ -506,7 +506,10 @@
>    "Visit the diff of the revision at line from its previous revision for all files in the changeset."
>    (interactive)
>    (when (eq 'file (vc-call-backend vc-annotate-backend 'revision-granularity))
> -    (error "The %s backend does not support changeset diffs" vc-annotate-backend))
> +    (error
> +     (substitute-command-keys "The %s backend does not support changeset diffs.  \
> +Use \\[vc-annotate-show-diff-revision-at-line] to diff this file.")
> +     vc-annotate-backend))
>    (vc-annotate-show-diff-revision-at-line-internal nil))
 
We could also fallback to the single-file diff code when the fileset is
a singleton.

        Stefan