2014-11-22 03:14:58 +00:00
|
|
|
(load (concat user-emacs-directory "core/spacemacs-mode.el"))
|
2014-11-22 02:55:00 +00:00
|
|
|
(require 'config-system)
|
2012-12-18 05:48:12 +00:00
|
|
|
|
2014-12-12 16:11:15 +00:00
|
|
|
(when (spacemacs/emacs-version-ok)
|
|
|
|
(dotspacemacs/load)
|
2014-12-12 16:34:36 +00:00
|
|
|
(spacemacs-mode)
|
2014-11-22 02:55:00 +00:00
|
|
|
(config-system/package.el-initialize)
|
2014-11-22 03:06:04 +00:00
|
|
|
;; Initializing configuration from ~/.spacemacs
|
2014-11-22 02:19:50 +00:00
|
|
|
(dotspacemacs|call-func dotspacemacs/init)
|
2014-11-22 03:06:04 +00:00
|
|
|
;; Load configuration layers
|
2014-11-22 02:55:00 +00:00
|
|
|
(config-system/declare-layer 'spacemacs)
|
|
|
|
(config-system/declare-dotspacemacs-configuration-layers)
|
|
|
|
(config-system/load-layers)
|
|
|
|
(config-system/delete-orphan-packages)
|
2014-10-26 02:54:03 +00:00
|
|
|
;; Ultimate configuration decisions are given to the user who can defined
|
|
|
|
;; them in his/her ~/.spacemacs file
|
2014-11-22 02:19:50 +00:00
|
|
|
(dotspacemacs|call-func dotspacemacs/config)
|
2014-11-22 02:55:00 +00:00
|
|
|
(config-system/setup-after-init-hook)
|
2014-10-24 03:07:40 +00:00
|
|
|
;; start a server for subsequent emacs clients
|
|
|
|
(require 'server)
|
|
|
|
(unless (server-running-p)
|
|
|
|
(server-start)))
|