This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/init.el

35 lines
1.3 KiB
EmacsLisp
Raw Normal View History

2014-09-24 00:47:20 +00:00
;; load core source and display spacemacs buffer
(defconst spacemacs-core-directory
(expand-file-name (concat user-emacs-directory "core/"))
"Spacemacs core directory.")
(dolist (elisp '("spacemacs-mode.el" "contribsys.el"))
(load (concat spacemacs-core-directory elisp)))
(spacemacs-buffer)
2012-12-18 05:48:12 +00:00
2014-09-24 00:47:20 +00:00
;; additional paths
2014-09-02 04:23:43 +00:00
(defconst user-home-directory
2012-12-18 05:48:12 +00:00
(expand-file-name (concat user-emacs-directory "../"))
2014-09-02 04:23:43 +00:00
"User home directory (~/).")
2014-09-10 02:02:38 +00:00
(defconst spacemacs-contrib-config-directory
2014-09-02 04:23:43 +00:00
(expand-file-name (concat user-emacs-directory "contrib/"))
2014-09-10 02:02:38 +00:00
"Spacemacs contribution layers base directory.")
2014-09-03 06:27:14 +00:00
(defconst user-dropbox-directory
2014-08-29 03:59:21 +00:00
(expand-file-name (concat user-home-directory "Dropbox/"))
"Dropbox directory.")
;; if you have a dropbox, then ~/Dropbox/emacs is added to load path
(add-to-list 'load-path (concat user-dropbox-directory "emacs/"))
2014-09-02 04:23:43 +00:00
;; User configuration file for Spacemacs: ~/.spacemacs
2014-09-07 03:28:13 +00:00
(spacemacs-load-dotfile)
2014-09-02 04:23:43 +00:00
(dotspacemacs/init)
2014-09-24 00:47:20 +00:00
;; initialisation of the contribution system based on configuration layers
;; additional configuration layers are declared in ~/.spacemacs
;; in variable dotspacemacs-configuration-layers
(contribsys/declare-layer 'spacemacs)
(contribsys/declare-configuration-layers)
(contribsys/load-layers)
2013-11-26 14:46:27 +00:00
2014-09-24 00:47:20 +00:00
;; Ultimate configuration decisions are given to the user who can defined them
;; in his/her ~/.spacemacs file
2014-09-02 04:23:43 +00:00
(dotspacemacs/config)