mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 11:06:17 +00:00
[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:
parent
87b0c06513
commit
9acd47448b
1 changed files with 14 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue