ui/doom-dashboard: don't hide dired-mode buffers on startup
This commit is contained in:
parent
7bfd7c1ade
commit
4977d22b75
1 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,8 @@ project (which may be different across perspective)."
|
||||||
|
|
||||||
(defun +doom-dashboard-initial-buffer ()
|
(defun +doom-dashboard-initial-buffer ()
|
||||||
"Returns buffer to display on startup. Designed for `initial-buffer-choice'."
|
"Returns buffer to display on startup. Designed for `initial-buffer-choice'."
|
||||||
(if (doom-real-buffer-p)
|
(if (or (doom-real-buffer-p)
|
||||||
|
(derived-mode-p 'dired-mode))
|
||||||
(current-buffer)
|
(current-buffer)
|
||||||
(doom-fallback-buffer)))
|
(doom-fallback-buffer)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue