Philip Kaludercic writes: > The central function here is `package-vc--unpack-1' so the following > patch should take care of that: > > diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el > index a4520ab800..5f7674190b 100644 > --- a/lisp/emacs-lisp/package-vc.el > +++ b/lisp/emacs-lisp/package-vc.el > @@ -433,7 +433,8 @@ package-vc--unpack-1 > (car load-path)))) > (current-buffer)) > (buffer-string)) > - nil (expand-file-name auto-name pkg-dir)))) > + nil (expand-file-name auto-name pkg-dir))) > + (package-quickstart-refresh)) > > ;; Generate package file > (package-vc--generate-description-file pkg-desc pkg-file) > > However I am uncertain if this is too aggressive? I don't have the time > to test it properly right now, but could try this (or some variation > thereof) and tell me if it addresses the issue? I moved the call to `package-quickstart-refresh' down, as it byte compiles the autoloads and judging from other comments in this function, and also discussion in bug#59707, that is best done after the new version of the package is loaded. Also, the two `package--quickstart-maybe-refresh' calls in package.el are just after a `package--save-selected-packages' call, so I did the same here. The seems to work fine in my manual testing. Thanks for the tip! As for whether this is too aggressive, I'm not sure. Seems about as aggressive as package.el is today.