Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added concatenation of newline to declaration-code before wrapping in…

…to :{ ... :} to prevent situation, when declaration-code ends in eof.
  • Loading branch information...
commit 0a72157e95c2d3dcaf2ccae861e680458413be77 1 parent 9cdf19e
@apsk apsk authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  inf-haskell.el
View
1  inf-haskell.el
@@ -420,6 +420,7 @@ If prefix arg \\[universal-argument] is given, just reload the previous file."
(defun inferior-haskell-wrap-decl (code)
"Wrap declaration code into :{ ... :}."
+ (setq code (concat code "\n"))
(concat ":{\n"
(if (string-match (concat "^\\s-*"
haskell-ds-start-keywords-re)
Please sign in to comment.
Something went wrong with that request. Please try again.