From 205cc718d2e12ff8d76a446b17619e3311745fb4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 19 Jun 2018 17:44:24 +0200 Subject: [PATCH] Fix dashboard not appearing in daemon frames Because they start in the *server* buffer, instead of the *scratch* buffer. --- modules/ui/doom-dashboard/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))