summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2025-02-16 16:12:46 +0800
committernoa2025-02-16 16:12:46 +0800
commit415794be86aa05a72b160cff2dd342e0df62a767 (patch)
treea1c9f7327d302557e38a65ec709e01601c54e3e7
parent2ad50dd41e1fd7210d8c43d2f53663999de43bbb (diff)
Use no-littering to keep emacs directory tidy
-rw-r--r--emacs/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 901bf6f..8e692d7 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -22,6 +22,9 @@
 	  #'(lambda ()
 	      (message (format "Initialised in %s seconds with %s garbage collections." (emacs-init-time) gcs-done))))
 
+;; keep the emacs directory clean
+(use-package no-littering)
+
 ;; It is often useful to be able to run a command while i am already in the process of running a command in the minibuffer.  This is rarely two extended commands; usually it is completion.
 (use-package mb-depth
   :hook (after-init . minibuffer-depth-indicate-mode))