emacs-devel
[Top][All Lists]
Advanced

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

Re: Customizable modes and package.el


From: Stefan Monnier
Subject: Re: Customizable modes and package.el
Date: Mon, 30 Mar 2015 13:28:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>>> That's not an option, because the user may need/want to run some Elisp
>>> code of his own choosing *before* package-initialize is called.
>>> E.g. in my case, I need to set package-load-list and
>>> package-directory-list before package-initialize runs.
>> `package-initialize' could look into some file like
>> ~/.emacs.d/package-init.el and load that before initializing.
> Please, not Yet Another File That Changes Emacs' Behaviour

Exactly.  So, for these reasons, "the solution" is to add
"(package-initialize)" in the ~/.emacs file.

Yes, this solution also sucks in some ways, but there's no perfect
solution, and this one is the most Emacs-ish solution, since it is
simple, and gives the most flexibility.


        Stefan



reply via email to

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