DO store customizations

And load the file!!! oooof
This commit is contained in:
Case Duckworth 2021-09-15 17:33:24 -05:00
parent 083c922ebc
commit 9d67993dd7
1 changed files with 6 additions and 1 deletions

View File

@ -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