Consider dired-mode buffers real

This commit is contained in:
Henrik Lissner 2018-01-28 20:37:40 -05:00
parent 22f4404210
commit 8b19e35ef6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 8 additions and 3 deletions

View file

@ -150,8 +150,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 (or (doom-real-buffer-p)
(derived-mode-p 'dired-mode))
(if (doom-real-buffer-p)
(current-buffer)
(doom-fallback-buffer)))