-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
27 lines (23 loc) · 832 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
(let ((gc-cons-threshold most-positive-fixnum))
;; Set repositories
(require 'package)
(setq-default
load-prefer-newer t
package-enable-at-startup nil)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(add-to-list 'package-archives '("org" . "http://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)
;; Tangle configuration
(org-babel-load-file (expand-file-name "namir.org" user-emacs-directory))
(garbage-collect))