2014-11-13 04:22:14 +00:00
|
|
|
(require 'package)
|
|
|
|
(package-initialize)
|
|
|
|
|
|
|
|
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
|
|
|
|
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
|
|
|
|
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t)
|
|
|
|
|
2017-12-12 19:03:16 +00:00
|
|
|
(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))
|
|
|
|
|
2014-11-13 04:22:14 +00:00
|
|
|
(unless (package-installed-p 'use-package)
|
|
|
|
(progn
|
|
|
|
(package-refresh-contents)
|
|
|
|
(package-install 'use-package)
|
|
|
|
(package-initialize)))
|
|
|
|
|
2015-04-02 15:31:26 +00:00
|
|
|
(eval-and-compile
|
|
|
|
(defvar use-package-verbose t)
|
|
|
|
(require 'use-package))
|
2014-11-13 04:22:14 +00:00
|
|
|
|
|
|
|
(use-package org
|
2016-02-12 02:48:45 +00:00
|
|
|
:ensure org-plus-contrib)
|
2013-08-17 07:14:39 +00:00
|
|
|
|
2014-11-04 01:38:48 +00:00
|
|
|
(org-babel-load-file "~/.emacs.d/emacs.org")
|