aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/init.org
blob: 36131cfff5d27f2405b978d2e09ed7d7f9fa8b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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