Handle ELPA load-path too

Actually, ELPA will only set load-path way later after reading init.el,
which breaks everything that depends on an ELPA package and is loaded just
after el-get, at init time.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2011-11-23 09:45:07 +01:00
parent d13cf89c20
commit 0adecb615c

View File

@ -373,7 +373,7 @@ called by `el-get' (usually at startup) for each installed package."
;; code only, no load-path nor byte-compiling support needed here.
(unless (eq method 'builtin)
;; append entries to load-path and Info-directory-list
(unless (member method '(elpa apt-get fink pacman))
(unless (member method '(apt-get fink pacman))
;; append entries to load-path
(dolist (path el-path)
(el-get-add-path-to-list package 'load-path path))