Force refresh dashboard on kill-buffer-query

This commit is contained in:
Henrik Lissner 2017-07-05 02:50:58 +02:00
parent 72557d8c43
commit 6569246067
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -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,