Good Haskell Style

Nils Anders Danielsson nad at cs.chalmers.se
Mon Aug 6 11:12:18 EDT 2007


On Thu, 02 Aug 2007, Thomas Schilling <nominolo at googlemail.com> wrote:

> (defun delete-trailing-space ()

FYI: There is a standard function delete-trailing-whitespace which you
could use.

>     (add-hook 'write-file-hooks 'delete-trailing-space)

And write-contents-hooks may be more appropriate.

-- 
/NAD



More information about the Libraries mailing list