Emacs command to kill other buffer and window

1

Emacs has the function kill-buffer-and-window mapped to C-x 4 0. Naturally, I expected C-x 4 1 to select the other window, kill the buffer and delete the window. I find myself using C-x o followed by C-x 4 0 a lot, which is very tedious. The q command for closing *Help* windows still leaves the buffer open.

Is there a function that has the expected behaviour of kill-other-buffer-and-window ?

god

Posted 2018-04-01T08:16:18.930

Reputation: 11

1

try binding a key to this SO answer

– manandearth – 2018-04-01T08:29:19.200

1

I found what I was looking for on EmacsWiki close-and-kill-next-pane. Thank you @manandearth.

– god – 2018-04-01T15:13:18.177

No answers