mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-23 03:00:08 +00:00
[emacs] Keep custom settings out of init.el
This commit is contained in:
parent
8d4d489646
commit
d4999268a3
1 changed files with 11 additions and 0 deletions
|
@ -2,6 +2,17 @@
|
|||
#+STARTUP: indent
|
||||
#+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
|
||||
#+begin_src emacs-lisp
|
||||
(defun my/choice (&rest things)
|
||||
|
|
Loading…
Reference in a new issue