diff --git a/modules/ui/doom-dashboard/config.el b/modules/ui/doom-dashboard/config.el index f8b316958..57594f903 100644 --- a/modules/ui/doom-dashboard/config.el +++ b/modules/ui/doom-dashboard/config.el @@ -207,7 +207,7 @@ project (which may be different across perspective)." (defun +doom-dashboard-initial-buffer () "Returns buffer to display on startup. Designed for `initial-buffer-choice'." - (if (eq (current-buffer) (get-buffer "*scratch*")) + (if (string-match-p "^ ?\\*\\(?:scratch\\|server\\)" (buffer-name)) (doom-fallback-buffer) (current-buffer)))