From 910bfc41ccfed54fc55e5360bbbd5e85d5e42b48 Mon Sep 17 00:00:00 2001 From: Andrew Whatson Date: Fri, 15 Mar 2019 13:49:11 +1000 Subject: [PATCH 1/2] Initialize dashboard later in window-setup-hook Since bb3f027c moved `projectile-mode` into `doom-init-ui-hook`, projectile was getting initialized after the dashboard. This means for non-evil users, the `C-c p p` binding is not shown, because it's not yet loaded. --- modules/ui/doom-dashboard/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index f06158d7c..555d47e0f 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -114,7 +114,7 @@ PLIST can have the following properties: return t))) #'+doom-dashboard-initial-buffer)) -(add-hook 'window-setup-hook #'+doom-dashboard|init) +(add-hook! :append 'window-setup-hook #'+doom-dashboard|init) ;; From de2d6815677ca91e68a2089243ca6d7b4428f6f8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 15 Mar 2019 01:36:57 -0400 Subject: [PATCH 2/2] Initialize dashboard on doom-init-ui-hook --- modules/ui/doom-dashboard/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index 555d47e0f..0c2fb29ef 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -114,7 +114,7 @@ PLIST can have the following properties: return t))) #'+doom-dashboard-initial-buffer)) -(add-hook! :append 'window-setup-hook #'+doom-dashboard|init) +(add-hook 'doom-init-ui-hook #'+doom-dashboard|init) ;;