On Tue, Oct 27, 2015 at 9:25 AM, martin rudalics wrote: > If it looks for whitespace followed by a line end and not > for whitespace preceding a line end, the old version will be slow with > indented code. I don't think we've ever had a bug report / complaint about delete-trailing-whitespace's performance. It's usually used either interactively or as a hook before saving the file, and in both cases I'd bet the time it takes is dwarfed by human reaction times or by the time spent saving the file to disk. J