Search code examples
emacselispeshell

eshell Doesn't Honor display-buffer


I use display-buffer C-x 4 C-o to set a buffer to the other window. This works great unless I want to put my eshell buffer in the other window. eshell puts itself in my current window every time.

If I prefix the command with C-u eshell switches properly. Is there a way I can make that the default?


Solution

  • Just do this:

    (eval-after-load "eshell"
      '(eshell-remove-from-window-buffer-names))