Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the option of not overriding package-user-dir #1407

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmgerman
Copy link

Currently prelude overrides user-package-dir to be /elpa

This patch does not change that behaviour, but gives the user to disable it.

Adds a variable prelude-override-package-user-dir that by default is t.

The path is only set when prelude-override-package-user-dir is true

Addresses #1406


Before submitting the PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):

  • [ X] The commits are consistent with our contribution guidelines
  • [ X] You've updated the changelog (if adding/changing user-visible functionality)
  • [ X] You've updated the user manual (if adding/changing user-visible functionality like modules, commands, configuration options, etc)

Thanks!

Currently prelude overrides user-package-dir to be <prelude-dir>/elpa

This patch does not change that behaviour, but gives the user
to disable it.

Adds a variable prelude-override-package-user-dir that by default is t.

The path is only set when prelude-override-package-user-dir is true
Copy link

This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed soon if no further activity occurs. Thank you for your contribution and understanding!

@github-actions github-actions bot added the stale label Jan 19, 2025
@bbatsov
Copy link
Owner

bbatsov commented Jan 19, 2025

In hindsight - probably Prelude shouldn't set such a variable at all. I'm struggling to remember why I even added this - I assume it was some desire to keep packages installed when using Prelude somewhat isolated.

@dmgerman
Copy link
Author

I suspect that was the original reason.

The problem I have is that I that I needed to load some packages before prelude that were stored in a different place, but the biggest one was I could not keep packages for 2 versions of emacs installed in separate places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants