|
From: | T.V Raman |
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 08:21:28 -0700 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes: Interesting. I went with -batch -q because your earlier message pointed toward doing something that was independent of the user's personal config? >> (if package-quickstart >> ;; FIXME: Delay refresh in case we're installing/deleting >> ;; several packages! >> - (package-quickstart-refresh) >> + (start-process >> + "quickstart" " *quickstart*" >> + (expand-file-name invocation-name invocation-directory) >> + "-batch" "-q" >> + "-l" "package" >> + "-f" "package-quickstart-refresh") >> (delete-file (concat package-quickstart-file "c")) >> (delete-file package-quickstart-file))) > > I think this will build an incorrect file for those users who change > `package`s config in their .emacs (e.g. setting > `package-directory-list`). > > > Stefan > > -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ?7?4 Id: kg:/m/0285kf1 ?0?8
[Prev in Thread] | Current Thread | [Next in Thread] |