Fix dashboard replacing warnings buffer in popup at startup
It makes the dashboard screen a mess!
This commit is contained in:
parent
31a4244686
commit
0c3484414c
1 changed files with 3 additions and 2 deletions
|
@ -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*")))
|
||||
(display-buffer-in-side-window
|
||||
warnings '((window-height . shrink-window-if-larger-than-buffer))))))
|
||||
(save-excursion
|
||||
(display-buffer-in-side-window
|
||||
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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue