Made "C-c C-d" to behave in REPL as in interaction buffer.