Skip to content

Commit c8153ea

Browse files
committed
use haskell-interactive-switch in process-load
This sets a variable with the source buffer so we can switch back. This is pretty bizzare, though. Both before and after this commit, `haskell-session-interactive-buffer` switches to the buffer if it's newly created, but if the buffer already exists, just returns the buffer without visiting. This function shouldn't switch, and callers should decide if they want to switch. closes #955
1 parent 884d97a commit c8153ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell-interactive-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ FILE-NAME only."
519519
(with-current-buffer buffer
520520
(haskell-interactive-mode)
521521
(haskell-session-assign s))
522-
(switch-to-buffer-other-window buffer)
522+
(haskell-interactive-switch)
523523
buffer))))
524524

525525
(defun haskell-process-cabal-live (state buffer)

0 commit comments

Comments
 (0)