aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/early-init.el')
-rw-r--r--.config/emacs/early-init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/emacs/early-init.el b/.config/emacs/early-init.el
index e5bc600..7238ace 100644
--- a/.config/emacs/early-init.el
+++ b/.config/emacs/early-init.el
@@ -32,6 +32,12 @@
tramp-backup-directory-alist `((".*" . ,backup-dir))
tramp-auto-save-directory auto-saves-dir))
+;; put custom in junk
+(setq custom-file (no-littering-expand-etc-file-name "custom.el"))
+
+;; put lockfiles in nowhere
+(setq create-lockfiles nil)
+
;; improve garbage collection
(defun my-minibuffer-setup-hook ()
(setq gc-cons-threshold most-positive-fixnum))