From d9f3d5c2f14b27bec1f22402563a69d2f4f589da Mon Sep 17 00:00:00 2001 From: Colin Woodbury Date: Sun, 26 Feb 2023 19:07:12 +0900 Subject: [PATCH] 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. --- modules/lang/haskell/autoload.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/lang/haskell/autoload.el b/modules/lang/haskell/autoload.el index daf8ddc95..a6fc372e0 100644 --- a/modules/lang/haskell/autoload.el +++ b/modules/lang/haskell/autoload.el @@ -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))))