[Python-Dev] whitespace normalization (original) (raw)
Christian Tanzer tanzer at swing.co.at
Thu Apr 26 09:28:10 CEST 2007
- Previous message: [Python-Dev] whitespace normalization
- Next message: [Python-Dev] whitespace normalization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
Stripping trailing whitespace on saving wouldn't be so bad, though. Is there an option for that in python-mode?
I've got thje following in my ~/.emacs:
(if (fboundp 'delete-trailing-whitespace) (add-hook 'write-file-hooks 'delete-trailing-whitespace) )
In modern Emacsen, the if
should be unnecessary.
-- Christian Tanzer http://www.c-tanzer.at/
- Previous message: [Python-Dev] whitespace normalization
- Next message: [Python-Dev] whitespace normalization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]