From e56cb65ca04022ed013cd57c782c7500fadd97d8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 7 Mar 2017 00:23:23 -0500 Subject: [PATCH] ui/doom-dashboard: fix max-specpdl-size error on macos --- modules/ui/doom-dashboard/config.el | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index 7d27845e5..f9d129223 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -43,13 +43,14 @@ (add-hook 'emacs-startup-hook '+doom-dashboard/open) (add-hook 'after-make-frame-functions '+doom-dashboard-deferred-reload) -(add-hook! 'kill-buffer-query-functions - (if (not (+doom-dashboard-p)) - t - (ignore - (ignore-errors (+doom-dashboard-force-reload)) - (bury-buffer)))) (add-hook! 'window-setup-hook + (add-hook! 'kill-buffer-query-functions + (if (not (+doom-dashboard-p)) + t + (ignore + (ignore-errors (+doom-dashboard-force-reload)) + (bury-buffer)))) + (add-hook 'window-configuration-change-hook '+doom-dashboard-reload) (+doom-dashboard-reload))