branch: elpa/haskell-ts-mode commit bd85e7675788798d6535c3ee091870eaed002a9c Author: pranshu <pranshusharma...@gmail.com> Commit: pranshu <pranshusharma...@gmail.com>
Fixed commint mode, as eariler ones did not work --- haskell-ts-mode.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/haskell-ts-mode.el b/haskell-ts-mode.el index 15ad8e79a9..c0d3614c37 100644 --- a/haskell-ts-mode.el +++ b/haskell-ts-mode.el @@ -380,10 +380,9 @@ (defun haskell-ts-run-haskell() (interactive) - (pop-to-buffer-same-window ;really in the same window? - (or - (comint-check-proc "*haskell*") - (make-comint "*haskell* repl" "ghci" nil buffer-file-name))) + (when (not (comint-check-proc "*haskell*")) + (set-buffer (apply (function make-comint) + "haskell" "ghci" nil `(,buffer-file-name)))) (pop-to-buffer-same-window "*haskell*")) (defun haskell-ts-haskell-session ()