about summary refs log tree commit diff stats
path: root/init.el
blob: 71d8816758fafcd433c6416676d080b1ba1c0517 (plain)
1
2
3
4
5
6
7
8
9
10
;; init.el -*- lexical-binding: t -*-

(let* ((conf (expand-file-name "config"
			       user-emacs-directory))
       (conf-el (concat conf ".el"))
       (conf-org (concat conf ".org")))
  (unless (and (file-newer-than-file-p conf-el conf-org)
	       (load conf 'no-error))
    (require 'org)
    (org-babel-load-file conf-org)))