-
Notifications
You must be signed in to change notification settings - Fork 164
Description
Due to behavior of Emacs that we can't change, if the user has installed package(s) via package.el
in the past, then they will be loaded at init, even if the user intends to use straight.el
instead to manage packages. This behavior can be disabled with (setq package-enable-at-startup nil)
in early-init.el
, but the cause of the issue is often unclear.
Given that loading packages from both package.el
and straight.el
in parallel is not a common use case to my knowledge, I suggest that straight.el
should signal a warning by default if ~/.emacs.d/elpa
exists, notifying the user that they may wish to delete or move that directory to avoid unexpected (versions of) packages being loaded. I suggest also that there be some configuration option which can be used to suppress the warning if the user for some reason does desire this dual loading behavior.
See, e.g.: #1019 (comment)