Merge pull request #232 from bradleywright/relative-packaging

Make `package-user-dir` relative to Prelude
This commit is contained in:
Bozhidar Batsov 2012-12-08 05:38:15 -08:00
commit c3fd21ebbf

View file

@ -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