dotfiles/.emacs.d/init.el

20 lines
559 B
EmacsLisp

(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)
(unless (package-installed-p 'use-package)
(progn
(package-refresh-contents)
(package-install 'use-package)
(package-initialize)))
(require 'use-package)
(use-package org
:ensure org-plus-contrib)
(require 'org)
(org-babel-load-file "~/.emacs.d/emacs.org")