Move Warnings buffer to side

This buffers keeps popping up when Emacs is compiling code in the background.
Maybe keeping it as a side buffer is less distracting?
This commit is contained in:
Daniel - 2023-02-12 18:36:45 +01:00
parent 9b8d3d6d44
commit cc0d6456b6
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 7 additions and 1 deletions

View File

@ -628,7 +628,13 @@
recenter-positions '(top middle bottom))
:config (progn
(add-to-list 'display-buffer-alist
'("^\\*Async Shell Command*" . (display-buffer-no-window)))))
'("^\\*Async Shell Command*" display-buffer-no-window))
(add-to-list 'display-buffer-alist
'("^\\*Warnings\\*"
(display-buffer-in-side-window)
(side . right)
(slot . 0)
(window-width . 0.33)))))
(use-package winner
:commands (winner-mode winner-undo winner-redo))