From: Juri Linkov Date: Thu, 25 May 2023 18:33:11 +0000 (+0300) Subject: * lisp/vc/vc-annotate.el (vc-annotate-mode-menu): Quote vc-annotate-backend. X-Git-Tag: emacs-29.0.92~98 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3afe4a42e90f4eb937b81879548ffbfa7e1f6599;p=emacs.git * 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). --- diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el index 70057a6aac7..d83660f9d79 100644 --- a/lisp/vc/vc-annotate.el +++ b/lisp/vc/vc-annotate.el @@ -330,7 +330,7 @@ cover the range from the oldest annotation to the newest." ["Show changeset diff of revision at line" vc-annotate-show-changeset-diff-revision-at-line :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"] ["Visit revision at line" vc-annotate-find-revision-at-line :help "Visit the revision identified in the current line"]))