diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/init.el b/init.el index 45133df..835af08 100644 --- a/init.el +++ b/init.el | |||
@@ -136,6 +136,24 @@ | |||
136 | calendar-latitude _location-latitude | 136 | calendar-latitude _location-latitude |
137 | calendar-longitude _location-longitude)) | 137 | calendar-longitude _location-longitude)) |
138 | 138 | ||
139 | (setup cus-edit | ||
140 | ;; I don't use Custom to actually /make/ any customizations, but it's handy to | ||
141 | ;; (A) see what options are available and (B) persist some changes across | ||
142 | ;; restarts, for example, `safe-local-variables'. | ||
143 | (:also-load +cus-edit) | ||
144 | (:option custom-file (private/ "custom.el") | ||
145 | custom-magic-show nil | ||
146 | custom-magic-show-button t | ||
147 | custom-raised-buttons nil | ||
148 | custom-unlispify-tag-names nil | ||
149 | custom-variable-default-form 'lisp | ||
150 | +custom-variable-allowlist '(safe-local-variable-values)) | ||
151 | (when (file-exists-p custom-file) | ||
152 | (+custom-load-ignoring-most-customizations t)) | ||
153 | (advice-add 'custom-buffer-create-internal :after '+cus-edit-expand-widgets) | ||
154 | (:with-mode Custom-mode | ||
155 | (:local-set imenu-generic-expression +cus-edit-imenu-generic-expression))) | ||
156 | |||
139 | (setup dired | 157 | (setup dired |
140 | (:also-load dired-x) | 158 | (:also-load dired-x) |
141 | (:also-straight dired-subtree | 159 | (:also-straight dired-subtree |