Greg Ewing <[EMAIL PROTECTED]> 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/
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com