26 Apr
2007
26 Apr
'07
7:28 a.m.
Greg Ewing
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/