```(add-hook 'before-save-hook 'delete-trailing-whitespace)```