From 2d6b40088ed1cd973529376d75551b69c28be924 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Fri, 28 Apr 2023 16:32:53 +0200 Subject: [PATCH] Delete shell buffers windows on `delete-other-windows` More often, I want the shell buffer to be gone when calling `delete-other-windows` than not, so let's make this the default. --- init.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index a7bb618..4d9af23 100644 --- a/init.el +++ b/init.el @@ -547,16 +547,14 @@ (side . bottom) (slot . -1) (window-height . 0.33) - (window-parameters . ((no-other-window . t) - (no-delete-other-windows . t))))) + (window-parameters . ((no-other-window . t))))) (add-to-list 'display-buffer-alist '("^\\*shell\\*" display-buffer-in-side-window (side . bottom) (slot . 1) (window-height . 0.33) - (window-parameters . ((no-other-window . t) - (no-delete-other-windows . t))))))) + (window-parameters . ((no-other-window . t))))))) (use-package winner :commands (winner-mode winner-undo winner-redo))