* lisp/vc/vc-annotate.el (vc-annotate-mode-menu): Quote vc-annotate-backend.

When unquoted it might get the nil value when vc-annotate.el is loaded
in non-vc-controlled buffer (bug#63689).
This commit is contained in:
Juri Linkov 2023-05-25 21:33:11 +03:00
parent b62a2b08b8
commit 3afe4a42e9

View file

@ -330,7 +330,7 @@ cover the range from the oldest annotation to the newest."
["Show changeset diff of revision at line" ["Show changeset diff of revision at line"
vc-annotate-show-changeset-diff-revision-at-line vc-annotate-show-changeset-diff-revision-at-line
:enable :enable
(eq 'repository (vc-call-backend ,vc-annotate-backend 'revision-granularity)) (eq 'repository (vc-call-backend vc-annotate-backend 'revision-granularity))
:help "Visit the diff of the revision at line from its previous revision"] :help "Visit the diff of the revision at line from its previous revision"]
["Visit revision at line" vc-annotate-find-revision-at-line ["Visit revision at line" vc-annotate-find-revision-at-line
:help "Visit the revision identified in the current line"])) :help "Visit the revision identified in the current line"]))