Moved tidy section into its own org file.
This commit is contained in:
17
config.org
17
config.org
@@ -198,22 +198,7 @@ features.
|
|||||||
|
|
||||||
#+INCLUDE: "config/gc.org" :minlevel 1
|
#+INCLUDE: "config/gc.org" :minlevel 1
|
||||||
|
|
||||||
* Keeping things tidy
|
#+INCLUDE: "config/tidy.org" :minlevel 1
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
* Auth sources
|
* Auth sources
|
||||||
|
|
||||||
|
|||||||
17
config/tidy.org
Normal file
17
config/tidy.org
Normal file
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user