 (global-modi-mode t)
 
 (when (bound-and-true-p emacs-initialized)
+  (req-package-finish)
   (funcall default-theme))
 
 (setq emacs-initialized t)


(req-package-finish) ; Start loading packages in right order


;; require `secrets' but don't trigger error if not found
(if (daemonp)
    (add-hook 'window-setup-hook
              (λ (require 'secrets "secrets.el.gpg" t)))
  (require 'secrets "secrets.el.gpg" t))

(require 'setup-big-fringe)


(req-package setup-ibuffer)
(req-package setup-ido)
(req-package setup-iregister)
(when (executable-find "git")
  (req-package setup-magit))
(req-package setup-manage-minor-mode)
