mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix dashboard replacing warnings buffer in popup at startup
It makes the dashboard screen a mess!
This commit is contained in:
@ -75,8 +75,9 @@ renamed.")
|
|||||||
;; The warnings buffer gets swallowed by creating `+workspaces-main', so
|
;; The warnings buffer gets swallowed by creating `+workspaces-main', so
|
||||||
;; we display it manually, if it exists (fix #319).
|
;; we display it manually, if it exists (fix #319).
|
||||||
(when-let* ((warnings (get-buffer "*Warnings*")))
|
(when-let* ((warnings (get-buffer "*Warnings*")))
|
||||||
(display-buffer-in-side-window
|
(save-excursion
|
||||||
warnings '((window-height . shrink-window-if-larger-than-buffer))))))
|
(display-buffer-in-side-window
|
||||||
|
warnings '((window-height . shrink-window-if-larger-than-buffer)))))))
|
||||||
|
|
||||||
(defun +workspaces|init-persp-mode ()
|
(defun +workspaces|init-persp-mode ()
|
||||||
;; Remap `buffer-list' to current workspace's buffers in `doom-buffer-list'
|
;; Remap `buffer-list' to current workspace's buffers in `doom-buffer-list'
|
||||||
|
Reference in New Issue
Block a user