[emacs] Keep custom settings out of init.el

This commit is contained in:
Correl Roush 2019-10-22 10:24:39 -04:00
parent 8d4d489646
commit d4999268a3

View file

@ -2,6 +2,17 @@
#+STARTUP: indent #+STARTUP: indent
#+PROPERTY: header-args :tangle yes #+PROPERTY: header-args :tangle yes
* Custom settings
Store options set via =customize-*= in a separate file (Emacs stores
them in =init.el= by default).
#+BEGIN_SRC emacs-lisp
(setq custom-file "~/.emacs.d/custom.el")
(if (file-exists-p custom-file)
(load custom-file))
(setf custom-safe-themes t)
#+END_SRC
* Dashboard * Dashboard
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun my/choice (&rest things) (defun my/choice (&rest things)