Emacs command to kill other buffer and window

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 ?

2 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like