mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Still process recipe's and user's init code for builtin recipes, per #406.
This commit is contained in:
parent
5c7f038590
commit
9eb20c5d6b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user