Fix dashboard replacing warnings buffer in popup at startup

It makes the dashboard screen a mess!
This commit is contained in:
Henrik Lissner 2018-01-06 18:45:20 -05:00
parent 31a4244686
commit 0c3484414c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -75,8 +75,9 @@ renamed.")
;; The warnings buffer gets swallowed by creating `+workspaces-main', so
;; we display it manually, if it exists (fix #319).
(when-let* ((warnings (get-buffer "*Warnings*")))
(save-excursion
(display-buffer-in-side-window
warnings '((window-height . shrink-window-if-larger-than-buffer))))))
warnings '((window-height . shrink-window-if-larger-than-buffer)))))))
(defun +workspaces|init-persp-mode ()
;; Remap `buffer-list' to current workspace's buffers in `doom-buffer-list'