diff --git a/config.org b/config.org index 35b2870..4151783 100644 --- a/config.org +++ b/config.org @@ -198,22 +198,7 @@ features. #+INCLUDE: "config/gc.org" :minlevel 1 -* Keeping things tidy - -I'd like to keep all of my configuration, and emacs files in one place. I've found -the [[https://github.com/emacscollective/no-littering][no-littering]] package does this well. This keeps everything under the .emacs.d -directory rather than littering $HOME. - -#+begin_src emacs-lisp -(use-package no-littering - :ensure t - :config - (no-littering-theme-backups) - (let ((dir (no-littering-expand-var-file-name "lock-files/"))) - (make-directory dir t) - (setq lock-file-name-transforms `((".*" ,dir t)))) - (setq custom-file (expand-file-name "custom.el" user-emacs-directory))) -#+end_src +#+INCLUDE: "config/tidy.org" :minlevel 1 * Auth sources diff --git a/config/tidy.org b/config/tidy.org new file mode 100644 index 0000000..529f4d8 --- /dev/null +++ b/config/tidy.org @@ -0,0 +1,17 @@ +* Keeping things tidy + +I'd like to keep all of my configuration, and emacs files in one place. I've found +the [[https://github.com/emacscollective/no-littering][no-littering]] package does this well. This keeps everything under the .emacs.d +directory rather than littering $HOME. + +#+begin_src emacs-lisp +(use-package no-littering + :ensure t + :config + (no-littering-theme-backups) + (let ((dir (no-littering-expand-var-file-name "lock-files/"))) + (make-directory dir t) + (setq lock-file-name-transforms `((".*" ,dir t)))) + (setq custom-file (expand-file-name "custom.el" user-emacs-directory))) +#+end_src +