|
From: | Reuben Thomas |
Subject: | bug#25157: 26.0.50; whitespace-cleanup does not remove single trailing empty line anymore |
Date: | Tue, 20 Dec 2016 18:37:29 +0000 |
tags 25157 confirmed
quit
Mark Karpov <markkarpov@openmailbox.org> writes:
> The ‘whitespace-cleanup’ command does not remove single trailing empty
> line anymore.
-(defcustom whitespace-empty-at-eob-regexp "^\\([ \t\n]+\\)"
+(defcustom whitespace-empty-at-eob-regexp "^\\([ \t\n]*\\(\n\\{2,\\}\\|[ \t]+\\)\\)\\'"
I don't quite understand why this more complicated _expression_ is
necessary. Reuben, can you explain?
[Prev in Thread] | Current Thread | [Next in Thread] |