Hack for missing python.el in some Emacs distributions

This commit is contained in:
syl20bnr 2014-09-27 00:10:58 -04:00
parent b5cc4cbdda
commit 6f372edf59
1 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,13 @@
(package-initialize)
(setq warning-minimum-level :error)
;; Emacs 24.3 and above ships with python.el but in some Emacs 24.3.1 packages
;; for Ubuntu, python.el seems to be missing.
;; This hack adds marmalade repository for this case only.
(unless (or (package-installed-p 'python) (version< emacs-version "24.3"))
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/")))
(load (concat spacemacs-core-directory "ht.el"))
(defvar spacemacs-config-layers '()