diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-03-30 01:42:59 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-03-30 01:43:22 -0400 |
commit | a4d627b752ba66838781283bc35cefcdb2ad5f71 (patch) | |
tree | f2ea2bef15ce1fc9ff97d4080def3b15514c04da /snippets/prog-mode | |
parent | 5c9589128f543649a37e61e96bc6e4e1831a821c (diff) | |
download | emacs.d-a4d627b752ba66838781283bc35cefcdb2ad5f71.tar.gz |
Add delete-trailing-whitespace to cleanup function
With 5f4f111cd, I replaced by old buffer cleanup functions with
whitespace-mode. This resulted in similar behavior, but empty lines at
the end of the buffer were no longer deleted. The 'empty' option for
whitespace-style will do this, but it also deletes empty lines at the
beginning of the buffer, which I don't want.
Add delete-trailing-whitespace to km/cleanup-buffer so that trailing
whitespace is removed.
Diffstat (limited to 'snippets/prog-mode')
0 files changed, 0 insertions, 0 deletions