diff options
author | Case Duckworth | 2022-05-10 13:57:09 -0500 |
---|---|---|
committer | Case Duckworth | 2022-05-10 13:57:09 -0500 |
commit | a6085b58a21ba0145294803b2a9239a5efb6aee1 (patch) | |
tree | c92e2c50b96cffb85c4a5714790f58862a0e8fcc /init.el | |
parent | Remove deprecated consult-completing-read-multiple and add indicator (diff) | |
download | emacs-a6085b58a21ba0145294803b2a9239a5efb6aee1.tar.gz emacs-a6085b58a21ba0145294803b2a9239a5efb6aee1.zip |
Fix load order
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el index 03040db..478b735 100644 --- a/init.el +++ b/init.el | |||
@@ -1269,7 +1269,8 @@ | |||
1269 | (setup (:straight clhs)) | 1269 | (setup (:straight clhs)) |
1270 | 1270 | ||
1271 | (setup (:straight consult) | 1271 | (setup (:straight consult) |
1272 | (:require consult +consult) | 1272 | (+with-ensure-after-init |
1273 | (:require consult +consult)) | ||
1273 | ;; from Consult wiki | 1274 | ;; from Consult wiki |
1274 | (:option register-preview-delay 0 | 1275 | (:option register-preview-delay 0 |
1275 | register-preview-function #'consult-register-format | 1276 | register-preview-function #'consult-register-format |
@@ -1332,7 +1333,7 @@ | |||
1332 | (:bind-into org | 1333 | (:bind-into org |
1333 | "M-g o" #'consult-org-heading) | 1334 | "M-g o" #'consult-org-heading) |
1334 | (advice-add 'consult-yank-pop :after #'+yank@indent) | 1335 | (advice-add 'consult-yank-pop :after #'+yank@indent) |
1335 | (:when-loaded | 1336 | (+with-eval-after-loads (consult +consult) |
1336 | (:option consult-narrow-key "<" | 1337 | (:option consult-narrow-key "<" |
1337 | consult-project-root-function '+consult-project-root) | 1338 | consult-project-root-function '+consult-project-root) |
1338 | (consult-customize consult-theme | 1339 | (consult-customize consult-theme |
@@ -1371,6 +1372,7 @@ | |||
1371 | (setf (alist-get buf-cmd vertico-multiform-commands) nil))))) | 1372 | (setf (alist-get buf-cmd vertico-multiform-commands) nil))))) |
1372 | 1373 | ||
1373 | (setup (:straight consult-dir) | 1374 | (setup (:straight consult-dir) |
1375 | (:load-after consult) | ||
1374 | (:+key "C-x C-d" #'consult-dir) | 1376 | (:+key "C-x C-d" #'consult-dir) |
1375 | (:with-map vertico-map | 1377 | (:with-map vertico-map |
1376 | (:bind "C-x C-d" #'consult-dir | 1378 | (:bind "C-x C-d" #'consult-dir |