fix: correct name of doom-after-modules-init-hook
The old name is doom-after-init-modules-hook.
This commit is contained in:
parent
c2df1803b2
commit
0bc06fc0d3
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ all hooks after it are ignored.")
|
||||||
(defalias 'define-key! #'general-def)
|
(defalias 'define-key! #'general-def)
|
||||||
(defalias 'undefine-key! #'general-unbind)
|
(defalias 'undefine-key! #'general-unbind)
|
||||||
;; Prevent "X starts with non-prefix key Y" errors except at startup.
|
;; Prevent "X starts with non-prefix key Y" errors except at startup.
|
||||||
(add-hook 'doom-after-init-modules-hook #'general-auto-unbind-keys)
|
(add-hook 'doom-after-modules-init-hook #'general-auto-unbind-keys)
|
||||||
|
|
||||||
;; HACK: `map!' uses this instead of `define-leader-key!' because it consumes
|
;; HACK: `map!' uses this instead of `define-leader-key!' because it consumes
|
||||||
;; 20-30% more startup time, so we reimplement it ourselves.
|
;; 20-30% more startup time, so we reimplement it ourselves.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue