As a follow up to my own post on Indentations: Tabs vs. Spaces, I wanted to cleanup a number of files that contained a lot of extra and useless whitespaces that were getting on my nerves.
I did not want to spend too much time on this so, here is what I did.
First, here is what I have in my .emacs files that is needed for this to work:
(require 'whitespace)
(setq-default global-whitespace-mode t)
(setq-default whitespace-modes (quote(php-mode c-mode)))
(setq-default global-whitespace-mode t)
(setq-default whitespace-modes (quote(php-mode c-mode)))