init.el template

This commit is contained in:
Janis 2024-07-14 14:37:55 +02:00
parent 860e364ce9
commit 37fcddeaa3

10
init.el Normal file
View 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"))