Additional custom packages #210

Closed
aisbaa opened this Issue Sep 24, 2012 · 5 comments

Comments

Projects
None yet
4 participants

aisbaa commented Sep 24, 2012

Hi,

I wonder **is there a way to list additional packages to be installed on emacs startup?**This is related to issue #105.

I've created personal/packages.el file with such code:

;; My packages
(setq prelude-packages (append '(redo+
                                 evil-numbers
                                 ascope
                                 ) prelude-packages))

;; Install my packages
(prelude-install-packages)

But problem with this method is that redo+ is required in personal/keys.el file, which is loaded before.

I'd also like a proper solution to this :)

knopki commented Sep 25, 2012

Files are loaded in alphabetical order. You can rename personal/packages.el to something like personal/00-packages.el.

aisbaa commented Sep 25, 2012

Feels fragile, but it would do the trick, thank you (bow).

Owner

bbatsov commented Dec 16, 2012

I'd suggest the use of the recently added function prelude-ensure-module-deps. It works like this:

(prelude-ensure-module-deps '(redo+ evil-numbers etc))

You simply need to put it before any code relying on the presence of the required packages.

bbatsov closed this Dec 16, 2012

Great addition, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment