fix(haskell): require haskell-interactive-mode
when opening repl
Otherwise the symbol `haskell-session-interactive-buffer` will not be present if a Haskell buffer has not already been opened.
This commit is contained in:
parent
8063b02a80
commit
d9f3d5c2f1
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
(defun +haskell/open-repl (&optional arg)
|
||||
"Opens a Haskell REPL."
|
||||
(interactive "P")
|
||||
(require 'haskell-interactive-mode)
|
||||
(if-let (window
|
||||
(display-buffer
|
||||
(haskell-session-interactive-buffer (haskell-session))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue