|
From: | Eli Zaretskii |
Subject: | Re: Async rebuild package-quickstart after packages update? was Re: 28.0.50; Proposal: slightly more efficient package-quickstart.el |
Date: | Thu, 05 Aug 2021 09:00:02 +0300 |
> From: "T.V Raman" <raman@google.com> > Cc: arthur.miller@live.com, emacs-devel@gnu.org > Date: Wed, 04 Aug 2021 17:22:23 -0700 > > Here is a simple patch that rebuilds package-quickstart-file in a > separate emacs process: Thanks. I have one minor comment: > - (package-quickstart-refresh) > + (start-process > + "quickstart" "*quickstart*" "emacs" > + "-batch" "-q" > + "-l" "package" > + "-f" "package-quickstart-refresh") The 3rd argument of start-process should use (expand-file-name invocation-name invocation-directory) instead of the literal "emacs", so that it invokes the same Emacs binary as the one in which the command runs.
[Prev in Thread] | Current Thread | [Next in Thread] |