Still process recipe's and user's init code for builtin recipes, per #406.

This commit is contained in:
Dimitri Fontaine 2011-10-02 19:48:21 +02:00
parent 5c7f038590
commit 9eb20c5d6b

View File

@ -367,9 +367,7 @@ called by `el-get' (usually at startup) for each installed package."
(pdir (el-get-package-directory package)))
;; a builtin package is never installed, we shouldn't reach this code
(when (and builtin (>= emacs-major-version builtin))
(error "%s is builtin" package))
(unless (and builtin (>= emacs-major-version builtin))
;; append entries to load-path and Info-directory-list
(unless (member method '(elpa apt-get fink pacman))
;; append entries to load-path
@ -389,7 +387,7 @@ called by `el-get' (usually at startup) for each installed package."
;; load any autoloads file if needed
(unless (eq autoloads t)
(dolist (file (el-get-as-list autoloads))
(el-get-load-fast file)))
(el-get-load-fast file))))
;; first, the :prepare function, usually defined in the recipe
(el-get-funcall prepare "prepare" package)