Skip to content

Commit 47daded

Browse files
committed
Add :demand t because :hook defers
1 parent a3436a4 commit 47daded

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.org

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
(use-package embark-consult
2727
:ensure t
2828
:after (embark consult)
29+
:demand t ; only necessary if you have the hook below
2930
;; if you want to have consult previews as you move around an
3031
;; auto-updating embark collect buffer
3132
:hook
@@ -245,6 +246,7 @@ reasonable starting configuration:
245246
(use-package embark-consult
246247
:ensure t
247248
:after (embark consult)
249+
:demand t ; only necessary if you have the hook below
248250
;; if you want to have consult previews as you move around an
249251
;; auto-updating embark collect buffer
250252
:hook

embark.texi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ preview automatically as you move around the collect buffer.
7676
(use-package embark-consult
7777
:ensure t
7878
:after (embark consult)
79+
:demand t ; only necessary if you have the hook below
7980
;; if you want to have consult previews as you move around an
8081
;; auto-updating embark collect buffer
8182
:hook
@@ -337,6 +338,7 @@ reasonable starting configuration:
337338
(use-package embark-consult
338339
:ensure t
339340
:after (embark consult)
341+
:demand t ; only necessary if you have the hook below
340342
;; if you want to have consult previews as you move around an
341343
;; auto-updating embark collect buffer
342344
:hook

0 commit comments

Comments
 (0)