From 30e7d1825ed7a26f52e447de2fc850c939bdf0cb Mon Sep 17 00:00:00 2001
From: Raúl Benencia <id@rbenencia.name>
Date: Tue, 18 Jul 2023 09:16:10 -0700
Subject: emacs: do not persist customizations

---
 .emacs.local.d/general.el | 4 ++--
 1 file 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)
-- 
cgit v1.2.3