about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2020-12-11 18:32:19 -0600
committerCase Duckworth2020-12-11 18:32:19 -0600
commit8a8ee8e243c3ffc8530e4794c575744451998d2d (patch)
treebf656dbac62d1ebfce435fcb07eea811aad2bb13 /init.el
parentChange to undo-fu (diff)
downloademacs-8a8ee8e243c3ffc8530e4794c575744451998d2d.tar.gz
emacs-8a8ee8e243c3ffc8530e4794c575744451998d2d.zip
Unignore {,early-}init.el
Diffstat (limited to 'init.el')
-rw-r--r--init.el16
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"))))