Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Additional custom packages #210

Closed
aisbaa opened this Issue · 5 comments

4 participants

@aisbaa

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.

@pparescasellas

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

@knopki

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

@aisbaa

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

@bbatsov
Owner

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 bbatsov closed this
@pparescasellas

Great addition, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.