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

37 lines
1.3 KiB
EmacsLisp
Raw Normal View History

;;; init.el --- Spacemacs Initialization File
;;
2018-01-04 07:00:25 +00:00
;; Copyright (c) 2012-2018 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)
;; Increase gc-cons-threshold, depending on your system you may set it back to a
;; lower value in your dotfile (function `dotspacemacs/user-config')
(setq gc-cons-threshold 100000000)
2016-04-26 10:04:48 +00:00
(load-file (concat (file-name-directory load-file-name)
"core/core-versions.el"))
(load-file (concat (file-name-directory load-file-name)
"core/core-load-paths.el"))
2015-12-01 05:54:39 +00:00
(if (not (version<= spacemacs-emacs-min-version emacs-version))
(error (concat "Your version of Emacs (%s) is too old. "
"Spacemacs requires Emacs version %s or above.")
emacs-version spacemacs-emacs-min-version)
2016-04-08 02:52:20 +00:00
(require 'core-spacemacs)
(configuration-layer/load-lock-file)
2016-11-04 15:52:09 +00:00
(spacemacs/init)
(configuration-layer/stable-elpa-download-tarball)
(configuration-layer/load)
(spacemacs-buffer/display-startup-note)
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)))