diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index a8ec6313c..51623f603 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -207,9 +207,9 @@ project (which may be different across perspective)." (defun +doom-dashboard-initial-buffer () "Returns buffer to display on startup. Designed for `initial-buffer-choice'." - (if (doom-real-buffer-p) - (current-buffer) - (doom-fallback-buffer))) + (if (eq (current-buffer) (get-buffer "*scratch*")) + (doom-fallback-buffer) + (current-buffer))) (defun +doom-dashboard-p (buffer) "Returns t if BUFFER is the dashboard buffer."