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

Add custom .el files #1340

Open
shakthimaan opened this issue Sep 11, 2021 · 2 comments
Open

Add custom .el files #1340

shakthimaan opened this issue Sep 11, 2021 · 2 comments

Comments

@shakthimaan
Copy link

shakthimaan commented Sep 11, 2021

The documentation suggests to add .el files to personal which will be loaded. I have no-easy-keys.el in personal/ folder and added the following to custom.el:

(prelude-require-package 'no-easy-keys)

But, Prelude is not able to find the package. This question is similar to #1116.

The following works though, but, is there an alternative to using add-to-list 'load-path? I though all files in personal/ should be auto-loaded by Prelude by default?

(add-to-list 'load-path "~/.emacs.d/personal/")
(require 'no-easy-keys)
(no-easy-keys 1)
@bbatsov
Copy link
Owner

bbatsov commented Sep 29, 2021

(prelude-require-package 'no-easy-keys)

That's only for remote packages. In your case I'm guessing you can just directly enable this mode, as Prelude does load on everything under personal (meaning you don't need to require).

@stale
Copy link

stale bot commented Apr 16, 2022

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

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants