Merge pull request #232 from bradleywright/relative-packaging
Make `package-user-dir` relative to Prelude
This commit is contained in:
commit
c3fd21ebbf
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(add-to-list 'package-archives
|
(add-to-list 'package-archives
|
||||||
'("melpa" . "http://melpa.milkbox.net/packages/") t)
|
'("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)
|
(package-initialize)
|
||||||
|
|
||||||
;; required because of a package.el bug
|
;; required because of a package.el bug
|
||||||
|
|
Loading…
Reference in a new issue