init.el (431B)
1 ;; This file replaces itself with the actual configuration at first run. 2 ;; Originally from github.com/larstvei/dot-emacs 3 4 ;; We can't tangle without org! 5 (require 'org) 6 ;; Open the configuration 7 (find-file (concat user-emacs-directory "init.org")) 8 ;; tangle it 9 (org-babel-tangle) 10 ;; load it 11 (load-file (concat user-emacs-directory "init.el")) 12 ;; finally byte-compile it 13 (byte-compile-file (concat user-emacs-directory "init.el"))