mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix: correct name of doom-after-modules-init-hook
The old name is doom-after-init-modules-hook.
This commit is contained in:
committed by
Henrik Lissner
parent
c2df1803b2
commit
0bc06fc0d3
@ -121,7 +121,7 @@ all hooks after it are ignored.")
|
||||
(defalias 'define-key! #'general-def)
|
||||
(defalias 'undefine-key! #'general-unbind)
|
||||
;; 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
|
||||
;; 20-30% more startup time, so we reimplement it ourselves.
|
||||
|
Reference in New Issue
Block a user