Make package-user-dir
relative to Prelude
This makes the entire Prelude configuration portable, meaning it's easier to try out in different Emacs enviroments.
This commit is contained in:
parent
bfba8f79e1
commit
067aad7510
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@
|
|||
(require 'package)
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "http://melpa.milkbox.net/packages/") t)
|
||||
;; set package-user-dir to be relative to Prelude install path
|
||||
(setq package-user-dir (expand-file-name "elpa" prelude-dir))
|
||||
(package-initialize)
|
||||
|
||||
;; required because of a package.el bug
|
||||
|
|
Loading…
Reference in a new issue