From 9acd47448ba3eed3239dbe7f495a622edc6aa98f Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Tue, 12 Dec 2017 14:03:16 -0500 Subject: [PATCH] [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. --- .emacs.d/init.el | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index ee09963..fe00152 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -5,6 +5,20 @@ (add-to-list 'package-archives '("melpa" . "http://melpa.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) (progn (package-refresh-contents)