dimitri/el-get — Issue #451: :post-init and :after called in eval-after-load when el-get-is-lazy
Author: jd
Created: 2011-10-20 10:43:36+00:00
State: open

Currently, `:post-init` and `:after` are called at the same time, there's almost no differences between them.
Therefore, when `el-get-is-lazy`, both are called via `eval-after-load`.

The problem is that a lot of recipes add the missing autoloads or change `auto-mode-alist` via `:post-init`. Therefore, when `el-get-is-lazy`, this does not fix anything: the autoloads would be added after the packages has been loaded.

I propose to always call `:post-init` whatever the value of `el-get-is-lazy` is. Only :after and `el-get-load-package-user-init-file` calls would be called on different time, depending on the value of `el-get-is-lazy`.