[emacs] Add the Straight package manager

Just adding it for now; will enable integrations and have it replace
package.el once the use-package integration gets sorted out.
This commit is contained in:
Correl Roush 2017-12-12 14:03:16 -05:00
parent 87b0c06513
commit 9acd47448b

View file

@ -5,6 +5,20 @@
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t)
(setq straight-enable-use-package-integration nil)
(setq straight-enable-package-integration nil)
(let ((bootstrap-file (concat user-emacs-directory "straight/bootstrap.el"))
(bootstrap-version 2))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(unless (package-installed-p 'use-package) (unless (package-installed-p 'use-package)
(progn (progn
(package-refresh-contents) (package-refresh-contents)