More side window rules

This commit is contained in:
BirDt_ 2026-05-20 20:17:04 +08:00
parent 0cc4aad979
commit 19b852f9c0
2 changed files with 7 additions and 1 deletions

View file

@ -54,6 +54,12 @@
(side . bottom)
(slot . 1)))
(add-to-list 'display-buffer-alist
`("\\*Buffer List\\*"
(display-buffer-in-side-window)
(side . bottom)
(slot . 1)))
(defun mark-side-window-as-no-other (orig-fun &rest args)
"Set `no-other-window' to t for any window being displayed as a side window."
(let ((window (apply orig-fun args)))