Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Always call :post-init after init, even if lazy

Fixes #451

Signed-off-by: Julien Danjou <julien@danjou.info>
  • Loading branch information...
commit 07ce22d5a5ca9daeaacd70a6eae62b9417cfcce8 1 parent 403c512
@jd jd authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 el-get.el
View
8 el-get.el
@@ -416,16 +416,16 @@ called by `el-get' (usually at startup) for each installed package."
(el-get-verbose-message "require '%s" feature)
(require feature)))))
- ;; now handle the user configs and :post-init and :after functions
+ (el-get-funcall postinit "post-init" package)
+
+ ;; now handle the user configs and :after functions
(if (or lazy el-get-is-lazy)
(let ((lazy-form
- `(progn ,(when postinit (list 'funcall postinit))
- (el-get-load-package-user-init-file ',package)
+ `(progn (el-get-load-package-user-init-file ',package)
,(when after (list 'funcall after)))))
(eval-after-load library lazy-form))
;; el-get is not lazy here
- (el-get-funcall postinit "post-init" package)
(el-get-load-package-user-init-file package)
(el-get-funcall after "after" package))
Please sign in to comment.
Something went wrong with that request. Please try again.