From 0bc06fc0d3d1a082a29ca4f5ad17f77053ac32f6 Mon Sep 17 00:00:00 2001 From: Amos Bird Date: Tue, 10 Jan 2023 19:14:13 +0800 Subject: [PATCH] fix: correct name of doom-after-modules-init-hook The old name is doom-after-init-modules-hook. --- lisp/doom-keybinds.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doom-keybinds.el b/lisp/doom-keybinds.el index 068c75457..29788e9a9 100644 --- a/lisp/doom-keybinds.el +++ b/lisp/doom-keybinds.el @@ -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.