A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-April/072784.html below:

[Python-Dev] whitespace normalization

[Python-Dev] whitespace normalization [Python-Dev] whitespace normalizationChristian Tanzer tanzer at swing.co.at
Thu Apr 26 09:28:10 CEST 2007
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/

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4