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.2 KiB
EmacsLisp
Raw Normal View History

;;; init.el --- Spacemacs Initialization File
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; Without this comment emacs25 adds (package-initialize) here
;; (package-initialize)
2016-04-26 10:04:48 +00:00
;; increase gc-cons-threshold during init
(setq gc-cons-threshold 100000000)
2016-04-26 10:04:48 +00:00
2016-10-03 04:28:13 +00:00
(defconst spacemacs-version "0.200.0" "Spacemacs version.")
(defconst spacemacs-emacs-min-version "24.4" "Minimal version of Emacs.")
2015-12-01 05:54:39 +00:00
(if (not (version<= spacemacs-emacs-min-version emacs-version))
(message (concat "Your version of Emacs (%s) is too old. "
2016-05-09 04:05:56 +00:00
"Spacemacs requires Emacs version %s or above.")
2015-12-01 05:54:39 +00:00
emacs-version spacemacs-emacs-min-version)
(load-file (concat (file-name-directory load-file-name)
"core/core-load-paths.el"))
2016-04-08 02:52:20 +00:00
(require 'core-spacemacs)
2015-12-01 05:54:39 +00:00
(spacemacs/init)
(spacemacs/maybe-install-dotfile)
(configuration-layer/sync)
(spacemacs-buffer/display-info-box)
2015-12-01 05:54:39 +00:00
(spacemacs/setup-startup-hook)
(require 'server)
2016-05-01 15:00:09 +00:00
(unless (server-running-p) (server-start)))