home: emacs: move config files

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2025-07-02 21:42:25 +05:30
parent 0890c49887
commit 0eacdcdc27
4 changed files with 12 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
(defconst config-org (expand-file-name "config.org" user-emacs-directory))
(defconst config-el (expand-file-name "config.el" user-emacs-directory))
(unless (file-exists-p config-el)
(require 'org)
(org-babel-tangle-file config-org config-el))
(load-file config-el)