Move code from core.el to init.el
This commit is contained in:
parent
71dd98e7d4
commit
e337823b44
2 changed files with 6 additions and 7 deletions
|
@ -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))
|
||||
|
|
7
init.el
7
init.el
|
@ -16,9 +16,13 @@
|
|||
;; * *<defun/var-name> ; 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue