emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Friendly discussion about (package-initialize)


From: Nick Helm
Subject: Re: Friendly discussion about (package-initialize)
Date: Fri, 11 Aug 2017 13:25:56 +1200
User-agent: mu4e 0.9.18; emacs 25.2.1

On Fri 11 Aug 2017 at  5.06 AM, Radon Rosborough wrote:

> Now there is also the question of where it is appropriate to call
> `package-initialize'. IMO, the only appropriate place to call it is in
> the user's init-file.

I'm likely missing something, but why is `package-initialize' in user
space at all?

Can it not simply be called internally with the first instance of a
package customisation in the user's init.el file (or startup.el,
interactively or wherever)?

Wouldn't that mean there's no need to automatically write to init.el or
maintain a template file, package--ensure-init-file would become
redundant and copy-pasted (use-package blah...) code would work wherever
the user puts it?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]