Do not insert equal sign if one already

Johan Andersson johan.rejeep at gmail.com
Tue Nov 2 12:52:43 EDT 2010


Hey,

It kind of bugs me that the function haskell-indent-insert-equal inserts an
equal sign, even though there already is one before point. I have changed
the function and recommend you do as well.

    (unless (looking-back "=\\s-*") (insert "= "))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.haskell.org/pipermail/haskellmode-emacs/attachments/20101102/e7854956/attachment.html 


More information about the Haskellmode-emacs mailing list