mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-01 11:09:57 +00:00
35 lines
1.1 KiB
EmacsLisp
35 lines
1.1 KiB
EmacsLisp
(require 'package)
|
|
(package-initialize)
|
|
|
|
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)
|
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
|
(add-to-list 'package-archives '("marmalade" . "https://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)
|
|
(package-install 'use-package)
|
|
(package-initialize)))
|
|
|
|
(eval-and-compile
|
|
(defvar use-package-verbose t)
|
|
(require 'use-package))
|
|
|
|
(use-package org
|
|
:ensure org-plus-contrib)
|
|
|
|
(org-babel-load-file "~/.emacs.d/emacs.org")
|