Sorry for bothering you guys. I found a solution, but I don't think it's the most elegant one.
What I did was I changed the call to `pop-to-buffer' to `switch-to-buffer' in `slime-hide-inferior-lisp-buffer' like so:
---------------------------------------------------------------------- --- slime.el.orig 2008-03-04 12:42:05.000000000 +0800 +++ slime.el 2008-03-04 12:42:41.000000000 +0800 @@ -1528,7 +1528,7 @@ (window (set-window-buffer window repl-buffer)) (t - (pop-to-buffer repl-buffer) + (switch-to-buffer repl-buffer) (goto-char (point-max)))))) ----------------------------------------------------------------------
Is there a better way to do this?