From 37fcddeaa3034d95d5e610c6684b6c38cb142f07 Mon Sep 17 00:00:00 2001 From: Janis Date: Sun, 14 Jul 2024 14:37:55 +0200 Subject: [PATCH] init.el template --- init.el | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 init.el diff --git a/init.el b/init.el new file mode 100644 index 0000000..03e8a97 --- /dev/null +++ b/init.el @@ -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"))