Boost logo

Boost :

Subject: Re: [boost] [Intrusive] Cleaning up trailing white space
From: Christopher Schmidt (christopher_at_[hidden])
Date: 2012-05-21 16:15:20


Dave Abrahams <dave_at_[hidden]> writes:

> They never bothered me a bit until emacs started higlighting them in
> red. Now I waste time trying to get rid of them instead of just
              ^^^^^^^^^^
> turning off the highlight :-)

    (add-hook 'write-file-functions
              (lambda ()
                (whitespace-cleanup)
                nil))

One can easily write a script that cleans the whole source tree.

        Christopher


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk