Tuesday September 15, 2009
Trailing whitespace
If you are an emacs user and don't want your source code to include trailing whitespaces, try adding the following to your ~/.emacs file:
(add-hook 'before-save-hook 'delete-trailing-whitespace)
This will automatically remove all trailing whitespaces from your buffer before saving your file!
Posted at 10:30AM Sep 15, 2009 by trond in OpenSolaris | Comments[0]
| « November 2009 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 20 | 21 | |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | |||||
| Today | ||||||