bbatsov/prelude

Add custom .el files

shakthimaan opened this issue · 2 comments

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)
(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 commented

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!