[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
simple patch for `align.el'
From: |
Paul Pogonyshev |
Subject: |
simple patch for `align.el' |
Date: |
Sun, 24 Oct 2004 01:38:03 +0300 |
User-agent: |
KMail/1.6.2 |
Try typing
a = 0;
counter = 0;
then select this region and `M-x align' it. The first line will have a
space followed by a tab, which is not good and is frowned upon by the
`whitespace' module. The simple patch below fixes this.
I have to admit I didn't care to understand all the code in `align.el',
but I'm absolutely sure the patch is safe and works.
2004-10-24 Paul Pogonyshev <address@hidden>
* align.el (align-areas): Delete whitespace before reindenting, so
that tabs are never placed after spaces.
My mailer currently mangles tabs, so I attach the patch instead of inlining
it.
Paul
patch
Description: Text Data
- simple patch for `align.el',
Paul Pogonyshev <=