diff options
author | Case Duckworth | 2022-01-02 23:33:00 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-02 23:33:00 -0600 |
commit | 30ca7beb8f0101dffffc22858bcfcd8e0d604a56 (patch) | |
tree | 89b533b95570283d413f6bc0d44a67edaf4314a5 /init.el | |
parent | Disable indicate-empty-lines (diff) | |
download | emacs-30ca7beb8f0101dffffc22858bcfcd8e0d604a56.tar.gz emacs-30ca7beb8f0101dffffc22858bcfcd8e0d604a56.zip |
Add function: +ensure-after-init
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/init.el b/init.el index 0866f17..5d5c02f 100644 --- a/init.el +++ b/init.el | |||
@@ -51,7 +51,7 @@ | |||
51 | (:hook #'+init-add-setup-to-imenu)) | 51 | (:hook #'+init-add-setup-to-imenu)) |
52 | 52 | ||
53 | (setup (:require +key) | 53 | (setup (:require +key) |
54 | (+key-setup)) | 54 | (+ensure-after-init #'+key-global-mode)) |
55 | 55 | ||
56 | (setup (:require auth-source) | 56 | (setup (:require auth-source) |
57 | (:option auth-sources (list (private/ "authinfo") | 57 | (:option auth-sources (list (private/ "authinfo") |
@@ -175,8 +175,7 @@ | |||
175 | custom-variable-default-form 'lisp | 175 | custom-variable-default-form 'lisp |
176 | +custom-variable-allowlist '(safe-local-variable-values | 176 | +custom-variable-allowlist '(safe-local-variable-values |
177 | warning-suppress-types)) | 177 | warning-suppress-types)) |
178 | (when (file-exists-p custom-file) | 178 | (+ensure-after-init #'+custom-load-ignoring-most-customizations) |
179 | (+custom-load-ignoring-most-customizations t)) | ||
180 | (advice-add #'custom-buffer-create-internal :after #'+cus-edit-expand-widgets) | 179 | (advice-add #'custom-buffer-create-internal :after #'+cus-edit-expand-widgets) |
181 | (:with-mode Custom-mode | 180 | (:with-mode Custom-mode |
182 | (:local-set imenu-generic-expression +cus-edit-imenu-generic-expression))) | 181 | (:local-set imenu-generic-expression +cus-edit-imenu-generic-expression))) |