Carsten Dominik wrote: > Fixed, thanks. > > - Carsten > > On Jun 4, 2009, at 7:45 PM, Ryan C. Thompson wrote: > > If you used the code I sent in my previous email, I discovered a bug in it. It would delete the last nonblank line as well. I have fixed this in my code. I've fixed things by copying the function into my .emacs and then editing it, so generating a diff -u is nontrivial. I'll do it now though. Also, I should mention that I'm not an experienced elisp hacker, so the solution that I came up with might not be the best. If you know a better way to do the same thing, go for it.