From 6569246067b44043e801e80f9a9e7580265529a7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 5 Jul 2017 02:50:58 +0200 Subject: [PATCH] Force refresh dashboard on kill-buffer-query --- modules/ui/doom-dashboard/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index e954699cd..5d9005c31 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -59,7 +59,8 @@ if in a GUI/non-daemon session." (defun +doom-dashboard|kill-buffer-query-fn () (or (not (+doom-dashboard-p)) - (ignore (ignore-errors (+doom-dashboard-reload))))) + (ignore (let (+doom-dashboard-inhibit-refresh) + (ignore-errors (+doom-dashboard-reload)))))) (defun +doom-dashboard|make-frame (frame) "Reload the dashboard after a brief pause. This is necessary for new frames,