aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'config/emacs/init.org')
-rw-r--r--config/emacs/init.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/emacs/init.org b/config/emacs/init.org
new file mode 100644
index 0000000..36131cf
--- /dev/null
+++ b/config/emacs/init.org
@@ -0,0 +1,13 @@
+#+title: Emacs =init.el=
+
+Force the usage of a =custom.el= file for customizations.
+#+begin_src emacs-lisp :tangle yes
+(setq custom-file (concat user-emacs-directory "custom.el"))
+(when (file-exists-p custom-file)
+ (load custom-file))
+#+end_src
+
+Load the main configuration from [[./config.org][config.org]].
+#+begin_src emacs-lisp :tangle yes
+(org-babel-load-file "~/.config/emacs/config.org")
+#+end_src