emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fixup-whitespace for scripts with no inter-word space


From: Stefan Monnier
Subject: Re: fixup-whitespace for scripts with no inter-word space
Date: Wed, 06 Nov 2013 01:52:56 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I'm probably getting over-enthusiastic, but doesn't it seem like
> `delete-indentation' could just delete the fill-prefix and then call
> `fill-delete-newlines' on the appropriate region?

They should definitely share more code.  But you can't just call
fill-delete-newlines because (for example) it will (and should) add a space
between "a" and ")" whereas fixup-whitespace won't (and shouldn't).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]