diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/init.el b/init.el index 5af6473..5230d23 100644 --- a/init.el +++ b/init.el | |||
@@ -1,11 +1,7 @@ | |||
1 | ;; This file replaces itself with the actual configuration when first run. To keep only this version in git, run this command: | 1 | ;; init.el -*- lexical-binding: t -*- |
2 | ;; git update-index --assume-unchanged init.el | ||
3 | ;; | ||
4 | ;; If it needs to be changed, start tracking it again thusly: | ||
5 | ;; git update-index --no-assume-unchanged init.el | ||
6 | 2 | ||
7 | (require 'org) | 3 | (let ((conf (expand-file-name "config" |
8 | (find-file (concat user-emacs-directory "config.org")) | 4 | user-emacs-directory))) |
9 | (org-babel-tangle) | 5 | (unless (load conf 'no-error) |
10 | (load-file (concat user-emacs-directory "early-init.el")) | 6 | (require 'org) |
11 | (load-file (concat user-emacs-directory "init.el")) | 7 | (org-babel-load-file (concat conf ".org")))) |