aboutsummaryrefslogtreecommitdiff
path: root/emacs/init.el
blob: 4129a5c82c71f677379fce60128b80ba08bb0401 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;; This file replaces itself with the actual configuration at first run.
;; Idea and file taken from https://github.com/larstvei/dot-emacs.
;;
;; NOTE DO NOT MODIFY THIS FILE. All changes should go into init.org

;; We can't tangle without org!
(require 'org)

;; Follow symlinks
(setq vc-follow-symlinks t)

;; Open the configuration
(find-file (concat user-emacs-directory "init.org"))

;; Tangle it
(org-babel-tangle)

;; Load it
(load-file (concat user-emacs-directory "init.el"))

;; Finally byte-compile it
(byte-compile-file (concat user-emacs-directory "init.el"))