summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/init.el b/init.el index 5230d23..71d8816 100644 --- a/init.el +++ b/init.el
@@ -1,7 +1,10 @@
1;; init.el -*- lexical-binding: t -*- 1;; init.el -*- lexical-binding: t -*-
2 2
3(let ((conf (expand-file-name "config" 3(let* ((conf (expand-file-name "config"
4 user-emacs-directory))) 4 user-emacs-directory))
5 (unless (load conf 'no-error) 5 (conf-el (concat conf ".el"))
6 (conf-org (concat conf ".org")))
7 (unless (and (file-newer-than-file-p conf-el conf-org)
8 (load conf 'no-error))
6 (require 'org) 9 (require 'org)
7 (org-babel-load-file (concat conf ".org")))) 10 (org-babel-load-file conf-org)))