-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
36 lines (28 loc) · 1022 Bytes
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
;;; init.el
;; Copyright (C) 2018 Matthew Boston
;; Created: October 24, 2017
;; Homepage: https://github.com/bostonaholic/dotemacs
;;; Code:
(let ((gc-cons-threshold most-positive-fixnum))
(require 'package)
(setq-default load-prefer-newer t
package-enable-at-startup nil)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)
(package-initialize)
;; Install dependencies
(unless (and (package-installed-p 'delight)
(package-installed-p 'use-package))
(package-refresh-contents)
(package-install 'delight t)
(package-install 'use-package t))
(setq-default use-package-always-defer t
use-package-always-ensure t)
;; Use latest Org
(use-package org
:ensure org-plus-contrib
:pin org)
;; Tangle configuration
(org-babel-load-file (expand-file-name "dotemacs.org" user-emacs-directory))
(garbage-collect))
;;; init.el ends here