el-get/recipes/package.el
Jim Crossley 8dc752601c Make the ELPA install more self-contained.
Instead of assuming the user wants the elpa/ dir beneath ~/.emacs.d,
we'll create it beneath the el-get install dir for package.  That way,
when we remove package, we don't leave any elpa "turds" behind in
~/.emacs.d.
2010-09-26 13:37:09 +02:00

17 lines
707 B
EmacsLisp

(:name package
:type http
:url "http://tromey.com/elpa/package.el"
:features package
:after (lambda ()
(setq package-user-dir
(expand-file-name
(convert-standard-filename
(concat (file-name-as-directory
(el-get-package-directory "package"))
"elpa")))
package-directory-list
(list (file-name-as-directory package-user-dir)
"/usr/share/emacs/site-lisp/elpa/"))
(make-directory package-user-dir t)
(package-initialize)))