Skip to content

Commit

Permalink
Remove redundant newline in colorized output
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdone committed May 10, 2014
1 parent 7fb632a commit e827a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haskell-interactive-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ SESSION, otherwise operate on the current buffer.
(delete-region (1+ haskell-interactive-mode-prompt-start) (point))
(goto-char (point-max))
(let ((start (point)))
(insert (haskell-fontify-as-mode (concat text "\n")
(insert (haskell-fontify-as-mode text
haskell-interactive-mode-eval-mode))
(when haskell-interactive-mode-collapse
(haskell-collapse start (point)))))))
Expand Down

0 comments on commit e827a17

Please sign in to comment.