How can I modify the way emacs picks which buffer to show after closing a buffer?
When I have multiple columns showing the same buffer, and then open another file in one of the buffers and then close the newly opened buffer, it doesn't switch back to the previous buffer, but to another buffer.
I'll try to explain with an example:
- Start with a new emacs at *scratch*
- C-x 2 (split into two columns)
- C-x C-f 1 (find file 1)
- C-x o (switch to other frame)
- C-x b 1 (find file 1)
- C-x C-f 2 (find file 2)
- C-x k (kill buffer)
Now it switches to scratch but I would like it to show 1 in both windows again, is it possible to make emacs behave this way?