Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make clearing the process better.

  • Loading branch information...
commit 1c078d461f49e5da9c9789e828de4855b79e6849 1 parent 192098e
@chrisdone chrisdone authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 haskell-process.el
View
4 haskell-process.el
@@ -108,7 +108,8 @@ has changed?"
(defun haskell-process-clear ()
"Clear the current process."
(interactive)
- (haskell-process-reset (haskell-process)))
+ (haskell-process-reset (haskell-process))
+ (haskell-process-set (haskell-process) 'command-queue nil))
(defun haskell-process-generate-tags (&optional and-then-find-this-tag)
"Regenerate the TAGS table."
@@ -485,6 +486,7 @@ changed. Restarts the process if that is the case."
(defun haskell-process-restart ()
"Restart the inferior Haskell process."
(interactive)
+ (haskell-process-clear)
(haskell-process-start (haskell-session)))
(defun haskell-process-make (name)
Please sign in to comment.
Something went wrong with that request. Please try again.