I have a function key bound to the command buffer-menu-other-window
. But sometimes when I hit that key, while I am editing file foo.py
, file foo.py
appears at the bottom of my buffer list instead of the top, which is a real pain.
[The same thing happens when I type C-x C-b
, which is bound to command list-buffers
. As far as I can see, buffer-menu-other-window
is an old name for list-buffers
.]
This problem appears (apparently) randomly, and then does not go away until I quit emacs and restart it. So I assume I have accidentally set something. But is there a way to fix this without quitting and restarting emacs?