clojure-emacs/cider — pull request #877 by vspinu (2014-11-17 03:37:39+00:00)
Title: Quit cider popup buffers with 'append argument

I have imprecisely diagnosed the problem with `display-buffer-in-previous-window` in aaad601d6170b .

After digging more it turned out that it's cider's `cider-popup-buffer-quit` (and `quit-window`) is to blame for removing the error buffer from window's history.

----
The default behavior of `quite-window` is to remove the buffer from the
selected window's buffer history. We want to use the 'append action instead of
'bury to preserve the buffer in the history to allow future invocations of
`display-buffer` and `pop-to-buffer` to reuse the window.