Before doom emacs, I had the following behaviour. Give two buffers, A and C, in that (tab) order:
- In buffer A, open new file in buffer B, now buffers/tabs look like A, B, C
- kill-buffer B (C-x k)
- Back in buffer A
Currently, after killing buffer B, it switches to buffer C. Drives me mad. I tried adding (previous-buffer)
to kill-buffer-hook
which did work but since this hook seems to be called all over the place, it had horrible side-effects. Any ideas?