init.el template
This commit is contained in:
parent
860e364ce9
commit
37fcddeaa3
10
init.el
Normal file
10
init.el
Normal file
|
@ -0,0 +1,10 @@
|
|||
;; We need org in order to make use of the tangling functionality
|
||||
(require 'org)
|
||||
;; Open the org-mode configuration
|
||||
(find-file (concat user-emacs-directory "init.org"))
|
||||
;; Tangle the file
|
||||
(org-babel-tangle)
|
||||
;; Load the tangled file
|
||||
(load-file (concat user-emacs-directory "init.el"))
|
||||
;; Byte-compile it
|
||||
(byte-compile-file (concat user-emacs-directory "init.el"))
|
Loading…
Reference in a new issue