From 9d67993dd78aa085e4c575d986f065fd141dec7f Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 15 Sep 2021 17:33:24 -0500 Subject: DO store customizations And load the file!!! oooof --- init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index 1f03fad..9b2718b 100644 --- a/init.el +++ b/init.el @@ -443,13 +443,18 @@ AKA, DO NOT USE THIS FUNCTION!!!" (blink-cursor-mode +1)) (setup cus-edit - (:option custom-file null-device ; don't store customizations + (:option custom-file (acdw/dir "custom.el") custom-magic-show nil custom-magic-show-button t custom-raised-buttons nil custom-unlispify-tag-names nil custom-variable-default-form 'lisp) + ;; I need this to save `safe-local-variables' between Emacs invocations. For + ;; now, of course .... I would /love/ a better solution. + (when (file-exists-p custom-file) + (load custom-file nil nil)) + ;; `Custom-mode-hook' fires /before/ the widgets are built, so I have to ;; install advice after the widgets are made. (:advise custom-buffer-create :after -- cgit 1.4.1-21-gabe81