mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-25 23:18:30 +00:00
Lars Tveito
8c31f15ba4
The init.el file should no longer be tracked by version control. This is to avoid cluttered commits.
13 lines
382 B
EmacsLisp
13 lines
382 B
EmacsLisp
;; This file replaces itself with the actual configuration at first run.
|
|
|
|
;; We can't tangle without org!
|
|
(require 'org)
|
|
;; Open the configuration
|
|
(find-file (concat user-emacs-directory "init.org"))
|
|
;; tangle it
|
|
(org-babel-tangle)
|
|
;; load it
|
|
(load-file (concat user-emacs-directory "init.el"))
|
|
;; finally byte-compile it
|
|
(byte-compile-file (concat user-emacs-directory "init.el"))
|