65d5e42b8e
Use the official spacelpa ELPA repository. address: https://github.com/syl20bnr/spacelpa ELPA repository configuration is now in a file called .lock at the root of the git repository. Its goal is to setup the ELPA repositories for a given branch and it should not be modified! The philosophy of Spacemacs is to never fork the git repository and this lock file has been put in the repo on purpose. Only the master branch will have a .lock file that points to spacelpa, the develop branch won't use the stable ELPA repository and will continue to behave like it always did. BUT for testing purpose and until the first major version of Spacemacs that uses the stable ELPA repo is released I push a .lock file to develop branch that points to spacelpa. I understand that some people can be annoyed by this so the variable configuration-layer--elpa-archives can be overriden by putting a setq in your dotfile in the user-init function like this: (setq configuration-layer--elpa-archives '(("melpa" . "melpa.org/packages/") ("org" . "orgmode.org/elpa/") ("gnu" . "elpa.gnu.org/packages/")))
37 lines
1.3 KiB
EmacsLisp
37 lines
1.3 KiB
EmacsLisp
;;; init.el --- Spacemacs Initialization File
|
|
;;
|
|
;; Copyright (c) 2012-2017 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)
|
|
|
|
(defconst spacemacs-version "0.300.0" "Spacemacs version.")
|
|
(defconst spacemacs-emacs-min-version "25.1" "Minimal version of Emacs.")
|
|
|
|
(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)
|
|
(load-file (concat (file-name-directory load-file-name)
|
|
"core/core-load-paths.el"))
|
|
(require 'core-spacemacs)
|
|
(configuration-layer/load-lock-file)
|
|
(spacemacs/init)
|
|
(configuration-layer/stable-elpa-download-tarball)
|
|
(configuration-layer/load)
|
|
(spacemacs-buffer/display-startup-note)
|
|
(spacemacs/setup-startup-hook)
|
|
(require 'server)
|
|
(unless (server-running-p) (server-start)))
|