Fix dashboard not appearing in daemon frames
Because they start in the *server* buffer, instead of the *scratch* buffer.
This commit is contained in:
parent
0fefc43d39
commit
205cc718d2
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue