diff options
author | Case Duckworth | 2021-09-15 17:33:24 -0500 |
---|---|---|
committer | Case Duckworth | 2021-09-15 17:33:24 -0500 |
commit | 9d67993dd78aa085e4c575d986f065fd141dec7f (patch) | |
tree | 156fa9eb50b274d596df10792b52ad43c4551163 | |
parent | Patch circe (diff) | |
download | emacs-9d67993dd78aa085e4c575d986f065fd141dec7f.tar.gz emacs-9d67993dd78aa085e4c575d986f065fd141dec7f.zip |
DO store customizations
And load the file!!! oooof
-rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
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!!!" | |||
443 | (blink-cursor-mode +1)) | 443 | (blink-cursor-mode +1)) |
444 | 444 | ||
445 | (setup cus-edit | 445 | (setup cus-edit |
446 | (:option custom-file null-device ; don't store customizations | 446 | (:option custom-file (acdw/dir "custom.el") |
447 | custom-magic-show nil | 447 | custom-magic-show nil |
448 | custom-magic-show-button t | 448 | custom-magic-show-button t |
449 | custom-raised-buttons nil | 449 | custom-raised-buttons nil |
450 | custom-unlispify-tag-names nil | 450 | custom-unlispify-tag-names nil |
451 | custom-variable-default-form 'lisp) | 451 | custom-variable-default-form 'lisp) |
452 | 452 | ||
453 | ;; I need this to save `safe-local-variables' between Emacs invocations. For | ||
454 | ;; now, of course .... I would /love/ a better solution. | ||
455 | (when (file-exists-p custom-file) | ||
456 | (load custom-file nil nil)) | ||
457 | |||
453 | ;; `Custom-mode-hook' fires /before/ the widgets are built, so I have to | 458 | ;; `Custom-mode-hook' fires /before/ the widgets are built, so I have to |
454 | ;; install advice after the widgets are made. | 459 | ;; install advice after the widgets are made. |
455 | (:advise custom-buffer-create :after | 460 | (:advise custom-buffer-create :after |