Re: [gnu] externals/vc-jj 444624c27ea 1/3: Delay adding JJ backend marker until project is loaded
Stefan Monnier <[email protected]> Mon, 27 Jul 2026 09:18:44 -0400
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
> diff --git a/vc-jj.el b/vc-jj.el > index f1753210806..e9a276181b7 100644 > --- a/vc-jj.el > +++ b/vc-jj.el > @@ -1894,7 +1894,8 @@ implementation." > (mapcar #'expand-file-name files)))) > > ;;;###autoload > -(add-to-list 'project-vc-backend-markers-alist '(JJ . ".jj")) > +(with-eval-after-load 'project > + (add-to-list 'project-vc-backend-markers-alist '(JJ . ".jj"))) I'm curious why you need this to be autoloaded. Can this (JJ . "jj") entry be useful even if `vc-jj.el` hasn't been loaded yet? === Stefan