mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix dashboard not appearing in daemon frames
Because they start in the *server* buffer, instead of the *scratch* buffer.
This commit is contained in:
@ -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)))
|
||||
|
||||
|
Reference in New Issue
Block a user