diff --git a/core/core.el b/core/core.el index 2a7e3e887..bade4778f 100644 --- a/core/core.el +++ b/core/core.el @@ -2,14 +2,10 @@ (defconst is-linux (eq system-type 'gnu/linux)) (when is-linux (add-to-list 'load-path "~/.cask")) -(require 'cask) -(cask-initialize) +(setq use-package-verbose DEBUG-MODE) (cd "~") ; instead of / -(eval-when-compile (require 'use-package)) ; Package management bootstrap -(setq use-package-verbose DEBUG-MODE) - ;; Make sure undo/backup folders exist (defconst my-tmp-dir-undo (expand-file-name "undo" my-tmp-dir)) (defconst my-tmp-dir-backup (expand-file-name "backup" my-tmp-dir)) diff --git a/init.el b/init.el index e51f76eda..1f375384d 100644 --- a/init.el +++ b/init.el @@ -16,9 +16,13 @@ ;; * * ; for altering the visual state ;; ;;; Code: - (defconst DEBUG-MODE nil) +(require 'cask) +(cask-initialize) + +(eval-when-compile (require 'use-package)) + (defconst my-dir user-emacs-directory) (defconst my-core-dir (concat my-dir "core/")) (defconst my-modules-dir (concat my-dir "init/")) @@ -42,7 +46,6 @@ (let ((default-directory my-elisp-dir)) (normal-top-level-add-subdirs-to-load-path)) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Just the... bear necessities... (mapc 'require