[Haskell-cafe] emacs haskellers: r-stripping files becomes popular

Valery V. Vorotyntsev valery.vv at gmail.com
Fri Nov 16 12:05:00 EST 2007


On 11/16/07, Brent Yorgey <byorgey at gmail.com> wrote:
> Nice!  Is there a way to have this only run if the current buffer is in
> haskell-mode?  I'd add it myself but I've not yet taken the plunge to being
> an elisp hacker.

Try adding ``(eq major-mode 'haskell-mode)'' after the `and' ..
.. but why would you tolerate whitespace in other modes?

--
vvv


More information about the Haskell-Cafe mailing list