"T.V Raman" via "Emacs development discussions." writes: Here's a small patch that uses make-thread: git diff package.el diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index bc450b09d0..104c2d8e71 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -4108,7 +4108,7 @@ package-quickstart-refresh ;; no-update-autoloads: t ;; End: ")) - (byte-compile-file package-quickstart-file))) + (make-thread #'byte-compile-file package-quickstart-file))) (defun package--imenu-prev-index-position-function () "Move point to previous line in package-menu buffer. > Haven't written the patch yet;-)Stefan Monnier writes: > > > The faster startup is nice, but one consequence of byte-compiling > > > package-quickstart after package updates is that emacs blocks for a > > > while. I myself use package paradox which already does the > > > download/unpack asynchronously; could we also move the > > > byte-compilation of package-quickstart to a separate thread? > > > > Sounds like a good idea, but you forgot to attach the patch to > > your message. > > > > > > Stefan ;-) > > -- > ♈Id: kg:/m/0285kf1 🦮♈ -- Thanks, --Raman ♈ Id: kg:/m/0285kf1 🦮