aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2023-07-18 09:16:10 -0700
committerRaúl Benencia <id@rbenencia.name>2023-07-18 09:16:10 -0700
commit30e7d1825ed7a26f52e447de2fc850c939bdf0cb (patch)
treec6d7c9f65086a6917da48057a9f7dc13f819aeed
parentf533b9fd2f2364739540a7a7d35fd9d00ff5643e (diff)
emacs: do not persist customizations
-rw-r--r--.emacs.local.d/general.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.local.d/general.el b/.emacs.local.d/general.el
index 4b26520..4e1ad01 100644
--- a/.emacs.local.d/general.el
+++ b/.emacs.local.d/general.el
@@ -135,8 +135,8 @@
;; Handy key definition
(define-key global-map "\M-Q" 'unfill-paragraph)
-(setq custom-file "~/.emacs.d/custom.el")
-(load custom-file 'noerror)
+;; Do not persist customizations
+(setq custom-file (make-temp-file "emacs-custom-"))
(menu-bar-mode -1)
(tool-bar-mode -1)
nihil fit ex nihilo