diff --git a/core/core-keybinds.el b/core/core-keybinds.el index d8264246f..0dd356fcc 100644 --- a/core/core-keybinds.el +++ b/core/core-keybinds.el @@ -107,6 +107,7 @@ If any hook returns non-nil, all hooks after it are ignored.") def)) (unquoted-fn (doom-unquote fn))) (when (or (not (symbolp unquoted-fn)) + (symbolp fn) (fboundp unquoted-fn)) (push `(define-key doom-leader-map (general--kbd ,key) ,fn)