I do it on commit in git there's the option to do this automatically.... Yeah 
it's tricky I always screw it up to :)

> On Sep 12, 2015, at 5:42 PM, RJ Nowling <rnowl...@gmail.com> wrote:
> 
> Hi all,
> 
> I keep introducing trailing whitespace into patches without meaning to, and
> I'd like to know what other people do to prevent this.
> 
> In my emacs file, I put
> 
> (add-hook 'before-save-hook 'delete-trailing-whitespace)
> 
> and I enabled a similar option in Eclipse.
> 
> What do others do?
> 
> Thanks,
> RJ

Reply via email to