Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Handle setting GHCi prompt.

  • Loading branch information...
commit 7855bba5a9e36f60514d2b54251fa07b6fc5ea94 1 parent 704822b
Chris Done chrisdone authored

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. +4 3 haskell-process.el
7 haskell-process.el
@@ -315,8 +315,7 @@
315 315 (defun haskell-process-make (name)
316 316 "Make an inferior Haskell process."
317 317 (list (cons 'name name)
318   - (cons 'current-command
319   - (haskell-command-make nil nil nil nil))))
  318 + (cons 'current-command 'none)))
320 319
321 320 ;;;###autoload
322 321 (defun haskell-process ()
@@ -366,7 +365,9 @@
366 365 (haskell-process-queue-command
367 366 process
368 367 (haskell-command-make process
369   - (lambda (process) (haskell-process-send-string process ":set prompt \"> \""))
  368 + (lambda (process)
  369 + (haskell-process-send-string process ":set prompt \"> \"")
  370 + (haskell-process-send-string process "Prelude.putStrLn \"\""))
370 371 nil
371 372 nil))
372 373 (haskell-process-queue-command

0 comments on commit 7855bba

Please sign in to comment.
Something went wrong with that request. Please try again.