Skip to content

Commit

Permalink
Don't use fontify-as-mode for :t by default (haskell#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdone committed Nov 11, 2014
1 parent 209c28c commit af61953
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions haskell-interactive-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -402,13 +402,9 @@ be nil.")
(cl-caddr state) response))
(haskell-interactive-mode-handle-h (point-min))
(buffer-string))))
(cond
(haskell-interactive-mode-eval-mode
(unless (haskell-process-sent-stdin-p (cadr state))
(haskell-interactive-mode-eval-as-mode (car state) response)))
((haskell-interactive-mode-line-is-query (elt state 2))
(let ((haskell-interactive-mode-eval-mode 'haskell-mode))
(haskell-interactive-mode-eval-as-mode (car state) response)))))
(when haskell-interactive-mode-eval-mode
(unless (haskell-process-sent-stdin-p (cadr state))
(haskell-interactive-mode-eval-as-mode (car state) response))))
(haskell-interactive-mode-prompt (car state)))

(defun haskell-interactive-mode-handle-h (&optional bound)
Expand Down

0 comments on commit af61953

Please sign in to comment.